aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-01 15:48:29 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-01 15:48:29 -0300
commit42cf96fe9c2af46fdc772135bf282458ff241111 (patch)
tree509a0481ef16cfd8d21c51f9f396ef34424cf655 /activerecord/lib
parent00550b57b6f1bb14374d91f2d6f4828bd929a1b5 (diff)
parentb343abd87517a367e6085b674de2477649de6365 (diff)
downloadrails-42cf96fe9c2af46fdc772135bf282458ff241111.tar.gz
rails-42cf96fe9c2af46fdc772135bf282458ff241111.tar.bz2
rails-42cf96fe9c2af46fdc772135bf282458ff241111.zip
Merge pull request #11213 from neerajdotname/scoped-deprecated
Removed deprecated scoped method Conflicts: activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/associations/association.rb5
1 files changed, 0 insertions, 5 deletions
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