aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-09-18 06:43:05 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-09-18 06:43:05 +0000
commit7495b5ca753cf7448761fe2c393bdf441a7d5928 (patch)
treee34b189f5a70d7a2a72d7ba21340171efb220a5f
parent3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c (diff)
downloadrails-7495b5ca753cf7448761fe2c393bdf441a7d5928.tar.gz
rails-7495b5ca753cf7448761fe2c393bdf441a7d5928.tar.bz2
rails-7495b5ca753cf7448761fe2c393bdf441a7d5928.zip
Deprecation: remove deprecated threaded_connections methods. Use allow_concurrency instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/CHANGELOG2
-rwxr-xr-xactiverecord/lib/active_record/base.rb10
2 files changed, 2 insertions, 10 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index df02908386..215a37d3dc 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Deprecation: remove deprecated threaded_connections methods. Use allow_concurrency instead. [Jeremy Kemper]
+
* Associations macros accept extension blocks alongside modules. #9346 [Josh
Peek]
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 3fa65bba8f..dd0ba08de0 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -959,16 +959,6 @@ module ActiveRecord #:nodoc:
object.is_a?(self)
end
- # Deprecated
- def threaded_connections #:nodoc:
- allow_concurrency
- end
-
- # Deprecated
- def threaded_connections=(value) #:nodoc:
- self.allow_concurrency = value
- end
-
# Returns the base AR subclass that this class descends from. If A
# extends AR::Base, A.base_class will return A. If B descends from A
# through some arbitrarily deep hierarchy, B.base_class will return A.