aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-07-01 17:24:42 +0530
committerNeeraj Singh <neerajdotname@gmail.com>2013-07-01 23:02:08 +0530
commitb343abd87517a367e6085b674de2477649de6365 (patch)
tree61ec56f9718f6bf47fbc81e1c33b1528848d11b7 /activerecord
parent534271db0d55001c7dfae6012b1a5f9f7cd63b83 (diff)
downloadrails-b343abd87517a367e6085b674de2477649de6365.tar.gz
rails-b343abd87517a367e6085b674de2477649de6365.tar.bz2
rails-b343abd87517a367e6085b674de2477649de6365.zip
Removed deprecated method scoped
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md4
-rw-r--r--activerecord/lib/active_record/associations/association.rb5
2 files changed, 4 insertions, 5 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index d6354a75f4..742bf854dc 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Removed deprecated method `scoped`
+
+ *Neeraj Singh*
+
* Remove implicit join references that were deprecated in 4.0.
Example:
diff --git a/activerecord/lib/active_record/associations/association.rb b/activerecord/lib/active_record/associations/association.rb
index 3fbdf9eb0b..338d5d2afe 100644
--- a/activerecord/lib/active_record/associations/association.rb
+++ b/activerecord/lib/active_record/associations/association.rb
@@ -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