From 545ee23f0a1e54b739b8b59cdc20e458b03c743f Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 2 Jan 2013 04:25:23 +0900 Subject: scoped_by is deprecated in AR 4 --- activerecord/lib/active_record/base.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index aab832c2f7..13424e621c 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -215,12 +215,6 @@ module ActiveRecord #:nodoc: # That will either find an existing tag named "rails", or create a new one while setting the # user that created it. # - # Just like find_by_*, you can also use scoped_by_* to retrieve data. The good thing about - # using this feature is that the very first time result is returned using method_missing technique - # but after that the method is declared on the class. Henceforth method_missing will not be hit. - # - # User.scoped_by_user_name('David') - # # == Saving arrays, hashes, and other non-mappable objects in text columns # # Active Record can serialize any object in text columns using YAML. To do so, you must -- cgit v1.2.3