1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #16705 from tomkadwill/documented_many_block_param

[ci skip] Updated documentation syntax of block parameter for rdoc
This commit is contained in:
Zachary Scott 2014-08-26 14:08:32 -07:00
commit ecf353bf91

View file

@ -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.
#