diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-22 14:48:28 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-25 13:46:54 +0200 |
commit | 5706d290b0a2501a713fadfb76d9e45c24d26e6a (patch) | |
tree | 34123891c234cf54329f11d0e5a2e57626b801d8 /activerecord/lib/active_record.rb | |
parent | 48933542ab4b83bab9ae5422bd95fd78abee79fa (diff) | |
download | rails-5706d290b0a2501a713fadfb76d9e45c24d26e6a.tar.gz rails-5706d290b0a2501a713fadfb76d9e45c24d26e6a.tar.bz2 rails-5706d290b0a2501a713fadfb76d9e45c24d26e6a.zip |
`preload` preserves readonly flag on associations. #15853
This is a partial fix for #15853. It only works when a `preload`
is issued and not an `eager_load`. I've added a skipped failing
test-case to keep in mind that we need to deal with `eager_load`.
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions