diff options
author | Eric Chahin <erc73@cornell.edu> | 2014-04-16 02:27:26 -0400 |
---|---|---|
committer | Eric Chahin <erc73@cornell.edu> | 2014-04-16 09:54:28 -0400 |
commit | 93f852569efc4db62e2fed75b2c0bb1866f7065b (patch) | |
tree | c8121ad012225fb00dd1ef44ff291583950ff108 /activerecord/lib/active_record/counter_cache.rb | |
parent | fe4b0eee05f59831e1468ed50f55fbad0ce11e1d (diff) | |
download | rails-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