This project is archived and is in readonly mode.

Changeset [5501b99a19a2a67a9a920fd3c7bff071a2ecf058] by steve

May 1st, 2009 @ 02:58 PM

Ensure ActiveRecord::Base.connection_pool.with_connection creates a new connection only when needed [#1752 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

Committed by steve

  • M activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
  • M activerecord/test/cases/pooled_connections_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>