diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-31 10:10:12 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-31 10:10:12 -0300 |
commit | c51fb024063b5369a8d99b8c6e582feaf6c5a366 (patch) | |
tree | 8c014a2d19ec5d970d2f986d36ed7b11267bd335 /activerecord | |
parent | 959a36084a75ed9d256276995dc3d3c433bc39e7 (diff) | |
download | rails-c51fb024063b5369a8d99b8c6e582feaf6c5a366.tar.gz rails-c51fb024063b5369a8d99b8c6e582feaf6c5a366.tar.bz2 rails-c51fb024063b5369a8d99b8c6e582feaf6c5a366.zip |
Fix changelog example for count method with block [ci skip]
Missed that too, thanks again @splattael.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 4f4e087acd..59c6154c48 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -3,7 +3,7 @@ * Allow blocks for `count` with `ActiveRecord::Relation`, to work similar as `Array#count`: - Person.where("age > 26").count { |person| gender == 'female' } + Person.where("age > 26").count { |person| person.gender == 'female' } *Chris Finne & Carlos Antonio da Silva* |