aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-30 23:55:48 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-11-06 05:52:52 +0900
commite617fb57f5a388d5f0a47fd5e576588dd10066b0 (patch)
tree4225fe0bfa8bb3680852c624d42f0bcca522a831 /activemodel/test/models
parent8a2ee3d8c6921ce34e597658e3f2b43b41423d1d (diff)
downloadrails-e617fb57f5a388d5f0a47fd5e576588dd10066b0.tar.gz
rails-e617fb57f5a388d5f0a47fd5e576588dd10066b0.tar.bz2
rails-e617fb57f5a388d5f0a47fd5e576588dd10066b0.zip
Fix preloading polymorphic association when through association has already loaded
If through association has already loaded, `source_type` is ignored to loaded through records. The loaded records should be filtered by `source_type` in that case. Fixes #30904.
Diffstat (limited to 'activemodel/test/models')
0 files changed, 0 insertions, 0 deletions