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

Removed deprecated method scoped

This commit is contained in:
Neeraj Singh 2013-07-01 17:24:42 +05:30
parent 534271db0d
commit b343abd875
2 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,7 @@
* Removed deprecated method `scoped`
*Neeraj Singh*
* Remove implicit join references that were deprecated in 4.0.
Example:

View file

@ -84,11 +84,6 @@ module ActiveRecord
target_scope.merge(association_scope)
end
def scoped
ActiveSupport::Deprecation.warn "#scoped is deprecated. use #scope instead."
scope
end
# The scope for this association.
#
# Note that the association_scope is merged into the target_scope only when the