diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2013-05-10 20:45:09 +0200 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2013-05-10 20:45:09 +0200 |
commit | a2e607e1055dcede27970ccd7f5b89a1ddee8c32 (patch) | |
tree | 595e27bae9bb51850f61e8be53f083fd82cce52b /activerecord/lib/active_record/locking | |
parent | 86cc141ed5fd51ec752c956febfa436d1c816532 (diff) | |
download | rails-a2e607e1055dcede27970ccd7f5b89a1ddee8c32.tar.gz rails-a2e607e1055dcede27970ccd7f5b89a1ddee8c32.tar.bz2 rails-a2e607e1055dcede27970ccd7f5b89a1ddee8c32.zip |
Make NullRelation a bit more like a real relation by returning 0 for #calculate(:count)
Diffstat (limited to 'activerecord/lib/active_record/locking')
0 files changed, 0 insertions, 0 deletions