From b343abd87517a367e6085b674de2477649de6365 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Mon, 1 Jul 2013 17:24:42 +0530 Subject: Removed deprecated method scoped --- activerecord/lib/active_record/associations/association.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activerecord/lib/active_record/associations/association.rb') 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 -- cgit v1.2.3