Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed deprecated method scoped

  • Loading branch information...
commit b343abd87517a367e6085b674de2477649de6365 1 parent 534271d
@neerajdotname neerajdotname authored
View
4 activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Removed deprecated method `scoped`
+
+ *Neeraj Singh*
+
* Remove implicit join references that were deprecated in 4.0.
Example:
View
5 activerecord/lib/active_record/associations/association.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.