Permalink
Browse files

Removed deprecated method scoped

  • Loading branch information...
1 parent 534271d commit b343abd87517a367e6085b674de2477649de6365 Neeraj Singh committed Jul 1, 2013
Showing with 4 additions and 5 deletions.
  1. +4 −0 activerecord/CHANGELOG.md
  2. +0 −5 activerecord/lib/active_record/associations/association.rb
@@ -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 @@ def scope
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

0 comments on commit b343abd

Please sign in to comment.