diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-11-09 12:09:37 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-11-09 12:09:37 +0000 |
commit | edd94cee9af1688dd036fc58fd405adb30a5e0da (patch) | |
tree | 84decda9a75027ac05235930ea166dc1755bb890 /actionpack/test | |
parent | 11b846eefb1e7128ae9c63035f6d559d50bd4563 (diff) | |
download | rails-edd94cee9af1688dd036fc58fd405adb30a5e0da.tar.gz rails-edd94cee9af1688dd036fc58fd405adb30a5e0da.tar.bz2 rails-edd94cee9af1688dd036fc58fd405adb30a5e0da.zip |
Delegate all calculations to the scope.
So that the scope may be a NullRelation and return a result without
executing a query.
Fixes #7928
Diffstat (limited to 'actionpack/test')
0 files changed, 0 insertions, 0 deletions