Aaron Patterson
|
29d2040b29
|
AbstractAdapter#close can be called to add the connection back to the
pool.
|
2011-11-29 14:40:37 -08:00 |
|
Aaron Patterson
|
f866f66b30
|
expire will set in_use to false
|
2011-11-29 14:02:58 -08:00 |
|
Aaron Patterson
|
79306de791
|
last_use is set on connection lease
|
2011-11-29 14:02:58 -08:00 |
|
Aaron Patterson
|
134cc8f939
|
Leased connections return false on second lease
|
2011-11-29 14:02:58 -08:00 |
|
Aaron Patterson
|
9bf8bf82b9
|
Adapters keep in_use flag when leased
|
2011-11-29 14:02:58 -08:00 |
|
Jon Leighton
|
1defb6adb8
|
Fix schema_cache_test.rb for sqlite3_mem
|
2011-11-29 12:29:42 +00:00 |
|
Aaron Patterson
|
ffb218c750
|
pools are 1:1 with spec now rather than 1:1 with class
|
2011-11-28 15:23:25 -08:00 |
|
Aaron Patterson
|
bd2f5c062d
|
pushing caching and visitors down to the connection
|
2011-11-19 20:19:53 -08:00 |
|
Aaron Patterson
|
4edf6ea0ea
|
Merge pull request #2897 from rsutphin/ar31-remove_connection
Patch for issue #2820
|
2011-09-06 17:43:58 -07:00 |
|
Aaron Patterson
|
61774e0d49
|
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
|
2011-06-06 15:47:13 -07:00 |
|
Jon Leighton
|
253bb6b926
|
Refactor Active Record test connection setup. Please see the 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.
|
2011-06-04 23:47:03 +01:00 |
|
Aaron Patterson
|
25f94971ab
|
adding active_connections? to the connection pool for finding open connections
|
2011-03-28 17:29:37 -07:00 |
|