aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2005-10-12 22:37:28 +0000
committerMarcel Molina <marcel@vernix.org>2005-10-12 22:37:28 +0000
commitb840e4ed509da433895fd2becf13f3e5656708e4 (patch)
tree7a23931ca5d7797ac00d9f3eb29e2e537abb00b2 /activerecord/test
parent0e0e774085c478a171894abfa95fff9475a4a826 (diff)
downloadrails-b840e4ed509da433895fd2becf13f3e5656708e4.tar.gz
rails-b840e4ed509da433895fd2becf13f3e5656708e4.tar.bz2
rails-b840e4ed509da433895fd2becf13f3e5656708e4.zip
Deprecated ActiveRecord::Base.threaded_connection in favor of ActiveRecord::Base.allow_concurrency.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/threaded_connections_test.rb2
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