aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-08-26 10:45:33 -0700
committerZachary Scott <e@zzak.io>2014-08-26 10:45:33 -0700
commit73428f1fb61bc0b749cb55f9ab480f72ba81bcc0 (patch)
treed063d083f087919056ccedfa69ea390598d8f67b /activerecord
parent14e2bbf3ca9ae7d5c9664c51a9e301f996b89506 (diff)
parent489ee95fe871d1d886403cc1d6373c5fbae8b4bc (diff)
downloadrails-73428f1fb61bc0b749cb55f9ab480f72ba81bcc0.tar.gz
rails-73428f1fb61bc0b749cb55f9ab480f72ba81bcc0.tar.bz2
rails-73428f1fb61bc0b749cb55f9ab480f72ba81bcc0.zip
Merge pull request #16703 from tomkadwill/documented_any_block_param
[ci skip] Updated documentation syntax of block parameter for rdoc
Diffstat (limited to 'activerecord')
-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 84c8cfe72b..afd043424d 100644
--- a/activerecord/lib/active_record/associations/collection_proxy.rb
+++ b/activerecord/lib/active_record/associations/collection_proxy.rb
@@ -783,7 +783,7 @@ module ActiveRecord
# person.pets.count # => 0
# person.pets.any? # => true
#
- # You can also pass a block to define criteria. The behavior
+ # You can also pass a +block+ to define criteria. The behavior
# is the same, it returns true if the collection based on the
# criteria is not empty.
#