aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/pooled_connections_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* expected value should come first in assert_equalNeeraj Singh2010-05-181-3/+3
| | | | | | [#4630 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move AR logging responsibilities to ActiveRecord::Railties::Subscriber.José Valim2010-01-131-12/+1
|
* Expose connections available in the connection pool.José Valim2010-01-111-0/+2
|
* Resolve deadlock in pooled connections testJeremy Kemper2009-11-101-1/+1
|
* Modify connection pool callbacks to be compatible w/ new styleNick Sieger2009-10-161-2/+19
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Tests should use ActiveRecord::Base.connection.rollback_db_transaction to ↵steve2009-05-011-1/+1
| | | | | | rollback a transaction Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵steve2009-05-011-0/+29
| | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix typo in pool_conections_test [#1350 state:committed]Amos King2008-11-141-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Timeout the connection pool monitor on ruby 1.8 onlyJeremy Kemper2008-11-081-4/+7
|
* Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵Pratik Naik2008-11-061-0/+5
| | | | defined connections
* Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵Wes Oldenbeuving2008-11-061-0/+8
| | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make clear_active_connections! also return stale connections back to the poolNick Sieger2008-08-291-0/+87
- also clean up some cruft remaining from per-thread connection cache