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:
parent
534271db0d
commit
b343abd875
2 changed files with 4 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
* Removed deprecated method `scoped`
|
||||
|
||||
*Neeraj Singh*
|
||||
|
||||
* Remove implicit join references that were deprecated in 4.0.
|
||||
|
||||
Example:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue