Skip to content

Conversation

@bernespinoza
Copy link

what?

clone relations to avoid InmmutableRelation deprecation warning and in newer versions Error

why?

Rails and ActiveRecord trigger a deprecation warning when reloads a relation already cached by Arel

rails/rails#14848

rails/rails@1b7aa62

rails/rails@3ae9818

Is this a patch or stable version?

At this point this is a patch, I'll take a look into the official repo. I'll prefer to use the core solution.

@bernespinoza
Copy link
Author

This mitigates these issues inossidabile#73, inossidabile#74 but I need to add some tests and validate other scenarios.

@bernespinoza bernespinoza self-assigned this Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants