aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2019-02-13 12:25:43 +0200
committerBogdan Gusiev <agresso@gmail.com>2019-02-20 13:48:51 +0200
commitbd4eff2f99ffa5868574c497bc63f320cbda3083 (patch)
treeb21d4bdea255230b35ebc142472aaf3120dfed33 /activemodel/lib
parent4cb1438b57067d637c79d49d0662c43b5b4e64c2 (diff)
downloadrails-bd4eff2f99ffa5868574c497bc63f320cbda3083.tar.gz
rails-bd4eff2f99ffa5868574c497bc63f320cbda3083.tar.bz2
rails-bd4eff2f99ffa5868574c497bc63f320cbda3083.zip
Fix reset of the source association when through association is loaded
The special case happens when through association has a custom scope that is applied to the source association when loading. In this case, the soucre association would need to be reset after main association is loaded. See tests. The special case exists when a through association has
Diffstat (limited to 'activemodel/lib')
0 files changed, 0 insertions, 0 deletions