aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-01-02 04:25:23 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-02 04:25:23 +0900
commit545ee23f0a1e54b739b8b59cdc20e458b03c743f (patch)
tree8080fb5fede04a8a0d1100de935565da9257d1da
parentb2e353980e40b869940bc64694d4881c63c44c15 (diff)
downloadrails-545ee23f0a1e54b739b8b59cdc20e458b03c743f.tar.gz
rails-545ee23f0a1e54b739b8b59cdc20e458b03c743f.tar.bz2
rails-545ee23f0a1e54b739b8b59cdc20e458b03c743f.zip
scoped_by is deprecated in AR 4
-rw-r--r--activerecord/lib/active_record/base.rb6
1 files changed, 0 insertions, 6 deletions
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 <tt>find_by_*</tt>, you can also use <tt>scoped_by_*</tt> to retrieve data. The good thing about
- # using this feature is that the very first time result is returned using <tt>method_missing</tt> technique
- # but after that the method is declared on the class. Henceforth <tt>method_missing</tt> 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