aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-08-26 14:08:32 -0700
committerZachary Scott <e@zzak.io>2014-08-26 14:08:32 -0700
commitecf353bf91e498da56fe92f27c1ab97e1a95340f (patch)
tree606a882215ccced4dfaf21181c1c34b373b3006d
parent76457135012e2462f3cf131c20f8974f40898f50 (diff)
parentd418d4f5e33a35355c5164246d69f9663f8bb693 (diff)
downloadrails-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.rb2
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.
#