diff options
author | Nick <nick@nicksieger.com> | 2008-04-19 00:34:22 -0500 |
---|---|---|
committer | Nick Sieger <nick@nicksieger.com> | 2008-08-29 14:12:08 -0500 |
commit | 5879b15f23f080badedbbab7835eda8c2c748a52 (patch) | |
tree | 26d7a2ddcf4b9a844f0e7bf93427f6f0ff09c5a6 /activerecord/test/cases | |
parent | 6edaa267174dfedaf5b152b9eba25b4eb5e34c99 (diff) | |
download | rails-5879b15f23f080badedbbab7835eda8c2c748a52.tar.gz rails-5879b15f23f080badedbbab7835eda8c2c748a52.tar.bz2 rails-5879b15f23f080badedbbab7835eda8c2c748a52.zip |
Rename defined_connections to connection_pools
- Distinguis meaning of "active_connections" to always mean connections
associated with the current thread
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/threaded_connections_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/threaded_connections_test.rb b/activerecord/test/cases/threaded_connections_test.rb index fedcab98e3..9bf7217958 100644 --- a/activerecord/test/cases/threaded_connections_test.rb +++ b/activerecord/test/cases/threaded_connections_test.rb @@ -26,7 +26,7 @@ unless %w(FrontBase).include? ActiveRecord::Base.connection.adapter_name 5.times do Thread.new do Topic.find :first - @connections << ActiveRecord::Base.active_connections.first + @connections << ActiveRecord::Base.active_connections.values.first end.join end end |