diff options
author | Zachary Scott <e@zzak.io> | 2014-08-26 14:08:32 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-08-26 14:08:32 -0700 |
commit | ecf353bf91e498da56fe92f27c1ab97e1a95340f (patch) | |
tree | 606a882215ccced4dfaf21181c1c34b373b3006d | |
parent | 76457135012e2462f3cf131c20f8974f40898f50 (diff) | |
parent | d418d4f5e33a35355c5164246d69f9663f8bb693 (diff) | |
download | rails-ecf353bf91e498da56fe92f27c1ab97e1a95340f.tar.gz rails-ecf353bf91e498da56fe92f27c1ab97e1a95340f.tar.bz2 rails-ecf353bf91e498da56fe92f27c1ab97e1a95340f.zip |
Merge pull request #16705 from tomkadwill/documented_many_block_param
[ci skip] Updated documentation syntax of block parameter for rdoc
-rw-r--r-- | activerecord/lib/active_record/associations/collection_proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 09a5782941..aadcdc4194 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -817,7 +817,7 @@ module ActiveRecord # person.pets.count # => 2 # person.pets.many? # => true # - # You can also pass a block to define criteria. The + # You can also pass a +block+ to define criteria. The # behavior is the same, it returns true if the collection # based on the criteria has more than one record. # |