diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-16 00:20:47 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-16 00:20:47 +0900 |
commit | 300c68e9396364db063e26473448803c6853e234 (patch) | |
tree | 9a50b96605bc7bdec14b43b5e88ed319a4c3de55 /activerecord/README.rdoc | |
parent | 8877492df2853cba92d95dabdfcdee7244e7d8f0 (diff) | |
download | rails-300c68e9396364db063e26473448803c6853e234.tar.gz rails-300c68e9396364db063e26473448803c6853e234.tar.bz2 rails-300c68e9396364db063e26473448803c6853e234.zip |
Add a test case that eager-loading with a polymorphic association and using `exists?`
This test covers the case of 02da8aea.
Previously `exists?` was always eager-loading the includes values. But
now it is eager-loaded only when necessary since 07a611e0.
So the case of the eager-loading had not covered in the test.
Diffstat (limited to 'activerecord/README.rdoc')
0 files changed, 0 insertions, 0 deletions