diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-02-26 18:07:13 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-02-26 18:07:13 -0500 |
commit | 572dcdd7e858f126848bdf4f2be0f5cb0de7c026 (patch) | |
tree | b0bad61734f2ded9782bf51cd701bffb1a6e56d9 /activesupport/test/cache/stores/mem_cache_store_test.rb | |
parent | 196e22de5378cf684760f082c8131f728f4717c4 (diff) | |
download | rails-572dcdd7e858f126848bdf4f2be0f5cb0de7c026.tar.gz rails-572dcdd7e858f126848bdf4f2be0f5cb0de7c026.tar.bz2 rails-572dcdd7e858f126848bdf4f2be0f5cb0de7c026.zip |
Fix preload with nested associations
When the middle association doesn't have any records and the inner
association is not an empty scope the owner will be `nil` so we can't
try to reset the inverse association.
Diffstat (limited to 'activesupport/test/cache/stores/mem_cache_store_test.rb')
0 files changed, 0 insertions, 0 deletions