diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/threaded_connections_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/threaded_connections_test.rb b/activerecord/test/threaded_connections_test.rb index 54175843c8..177c6c7e13 100644 --- a/activerecord/test/threaded_connections_test.rb +++ b/activerecord/test/threaded_connections_test.rb @@ -12,7 +12,7 @@ class ThreadedConnectionsTest < Test::Unit::TestCase end def gather_connections(use_threaded_connections) - ActiveRecord::Base.threaded_connections = use_threaded_connections + ActiveRecord::Base.allow_concurrency = use_threaded_connections ActiveRecord::Base.establish_connection(@connection) 5.times do |