aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-06-26 05:46:09 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-07-03 03:07:59 +0900
commit0255cf94b0871230aba106543c17918caafbef0e (patch)
treebf4b3caeb30ac5bcfa11570e91d81cca74b9c466 /activerecord/lib/active_record/associations/join_dependency
parente4282e2fbf00711c374fdb67c0842952f2b227f7 (diff)
downloadrails-0255cf94b0871230aba106543c17918caafbef0e.tar.gz
rails-0255cf94b0871230aba106543c17918caafbef0e.tar.bz2
rails-0255cf94b0871230aba106543c17918caafbef0e.zip
Don't share seen object cache between different join nodes in eager loading
Currently, the seen object cache is shared if join nodes have the same target class. But it is a wrong assumption, we can't share the seen object cache between different join nodes (e.g. `:readonly_account` and `:accounts` have the same target class `Account`, but the instances have the different state `readonly`). Fixes #26805. Closes #27737.
Diffstat (limited to 'activerecord/lib/active_record/associations/join_dependency')
0 files changed, 0 insertions, 0 deletions