New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eager loaded models not marked as read only #15853
Comments
I can confirm this issue. Happens to both |
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`.
I pushed a partial fix for this issue 5706d29 It's partial because the fix only applies to Let's keep the issue open until we have |
This issue has been automatically marked as stale because it has not been commented on for at least The resources of the Rails team are limited, and so we are asking for your help. If you can still reproduce this error on the Thank you for all your contributions. |
Eager loaded models aren't properly marked as readonly for read only associations.
See testcase in https://gist.github.com/jturkel/7e39d519f9e017d4e4b5
The text was updated successfully, but these errors were encountered: