aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/counter_cache_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-03-29 05:30:01 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-03-30 09:35:05 +0900
commiteb807384c81a6e086b17a576755e992e6c4c685e (patch)
tree0a820ce30beebab3ee09b53fff13ec7c17e3f3fd /activerecord/test/cases/counter_cache_test.rb
parent06332d58676f58ef7970d3a8e0affe38f13feba3 (diff)
downloadrails-eb807384c81a6e086b17a576755e992e6c4c685e.tar.gz
rails-eb807384c81a6e086b17a576755e992e6c4c685e.tar.bz2
rails-eb807384c81a6e086b17a576755e992e6c4c685e.zip
Short circuit the scoping delegation for `relation.all`
Previously `relation.all` behaves as `relation.scoping { klass.all }`. But it is just enough to `relation.spawn`.
Diffstat (limited to 'activerecord/test/cases/counter_cache_test.rb')
0 files changed, 0 insertions, 0 deletions