1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Doc fixes

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-03-05 20:00:04 +00:00
parent 3c756f85be
commit ccfcd9fe22

View file

@ -906,6 +906,7 @@ module ActiveRecord #:nodoc:
end end
end end
# Works like with_scope, but discards any nested properties.
def with_exclusive_scope(method_scoping = {}, &block) def with_exclusive_scope(method_scoping = {}, &block)
with_scope(method_scoping, :overwrite, &block) with_scope(method_scoping, :overwrite, &block)
end end
@ -916,12 +917,12 @@ module ActiveRecord #:nodoc:
end end
# Deprecated # Deprecated
def threaded_connections def threaded_connections #:nodoc:
allow_concurrency allow_concurrency
end end
# Deprecated # Deprecated
def threaded_connections=(value) def threaded_connections=(value) #:nodoc:
self.allow_concurrency = value self.allow_concurrency = value
end end