aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/counter_cache.rb
diff options
context:
space:
mode:
authorEric Chahin <erc73@cornell.edu>2014-04-16 02:27:26 -0400
committerEric Chahin <erc73@cornell.edu>2014-04-16 09:54:28 -0400
commit93f852569efc4db62e2fed75b2c0bb1866f7065b (patch)
treec8121ad012225fb00dd1ef44ff291583950ff108 /activerecord/lib/active_record/counter_cache.rb
parentfe4b0eee05f59831e1468ed50f55fbad0ce11e1d (diff)
downloadrails-93f852569efc4db62e2fed75b2c0bb1866f7065b.tar.gz
rails-93f852569efc4db62e2fed75b2c0bb1866f7065b.tar.bz2
rails-93f852569efc4db62e2fed75b2c0bb1866f7065b.zip
Changed the NullRelation so that when count is called with #group it will properly return an empty hash instead of zero. Fixes issue #14721
Conflicts: activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/lib/active_record/counter_cache.rb')
0 files changed, 0 insertions, 0 deletions