aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorTom Kadwill <tomkadwill@gmail.com>2014-08-26 18:39:48 +0100
committerTom Kadwill <tomkadwill@gmail.com>2014-08-26 18:39:48 +0100
commit489ee95fe871d1d886403cc1d6373c5fbae8b4bc (patch)
treed063d083f087919056ccedfa69ea390598d8f67b /activerecord/lib
parent14e2bbf3ca9ae7d5c9664c51a9e301f996b89506 (diff)
downloadrails-489ee95fe871d1d886403cc1d6373c5fbae8b4bc.tar.gz
rails-489ee95fe871d1d886403cc1d6373c5fbae8b4bc.tar.bz2
rails-489ee95fe871d1d886403cc1d6373c5fbae8b4bc.zip
[ci skip] Updated documentation syntax of block parameter for rdoc
Diffstat (limited to 'activerecord/lib')
-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.
#