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 /activemodel/lib/active_model/naming.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 'activemodel/lib/active_model/naming.rb')
0 files changed, 0 insertions, 0 deletions
