diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-07-21 21:44:16 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-07-21 21:44:33 +0530 |
commit | c851deff83076b8f73c77818bc04ba8e9f7ec335 (patch) | |
tree | ea1df48a19fd810727d4ccd0b7e46942d65e8152 /activerecord/lib/active_record/relation.rb | |
parent | 60df591ccaf2338f7f47de8bb28a318db2cfc397 (diff) | |
download | rails-c851deff83076b8f73c77818bc04ba8e9f7ec335.tar.gz rails-c851deff83076b8f73c77818bc04ba8e9f7ec335.tar.bz2 rails-c851deff83076b8f73c77818bc04ba8e9f7ec335.zip |
minor copy edits [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 3095580b66..3821c6122a 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -252,7 +252,7 @@ module ActiveRecord end end - # Returns true if there is more than one records. + # Returns true if there is more than one record. def many? if block_given? to_a.many? { |*block_args| yield(*block_args) } @@ -263,8 +263,6 @@ module ActiveRecord # Scope all queries to the current scope. # - # ==== Example - # # Comment.where(:post_id => 1).scoping do # Comment.first # SELECT * FROM comments WHERE post_id = 1 # end |