aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_pool_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* connections are only removed if they are inactveAaron Patterson2011-12-301-2/+18
|
* connections can be reaped via the `reap` methodAaron Patterson2011-12-301-0/+15
|
* deal with removing connections associated with the current threadAaron Patterson2011-12-301-0/+8
|
* connections can be removed from the poolAaron Patterson2011-12-301-0/+19
|
* connections must be checked in at the end of a threadAaron Patterson2011-12-301-14/+3
|
* Automatic closure of connections in threads is deprecated. For exampleAaron Patterson2011-11-291-26/+5
| | | | | | | | | | | | | | | | | the following code is deprecated: Thread.new { Post.find(1) }.join It should be changed to close the database connection at the end of the thread: Thread.new { Post.find(1) Post.connection.close }.join Only people who spawn threads in their application code need to worry about this change.
* pushing caching and visitors down to the connectionAaron Patterson2011-11-191-37/+0
|
* Make it the responsibility of the connection to hold onto an ARel visitor ↵Jon Leighton2011-08-081-0/+4
| | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* adding active_connection? to the connection poolAaron Patterson2011-03-281-0/+8
|
* Fix test/cases/connection_pool_test.rb for sqlite3 in-memory dbJon Leighton2011-02-141-0/+10
|
* primary keys should not be cleared on cache clear, fixing oracle testsAaron Patterson2011-02-081-3/+1
|
* column cache now lives on the connection poolAaron Patterson2011-02-041-0/+20
|
* making sure primary key is set on the columnsAaron Patterson2011-02-041-0/+9
|
* connection pool can cache column, table, and primary key informationAaron Patterson2011-02-041-0/+35
|
* fix whitespace errorsAaron Patterson2010-11-301-2/+2
|
* fix ruby 1.9 deadlock problem, fixes #5736 add connection pool testsHemant Kumar2010-10-061-0/+29
|
* adding a test for clearing stale connectionsAaron Patterson2010-07-161-0/+31
|
* fixing test file nameAaron Patterson2010-07-161-25/+0
|
* fixing whitespace errorsAaron Patterson2010-07-161-4/+4
|
* Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement.Manfred Stienstra2009-02-251-0/+25
- Make sure ConnectionManagement clears connections after each call, except in tests Signed-off-by: Joshua Peek <josh@joshpeek.com>