-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Support for rails 5.2? #254
Comments
How can we reproduce the issue? Could you please add a code snippet do demonstrate the lack of support? |
I was able to reproduce this in my own by just creating a Dynamoid backed object as well and getting a They added
It looks like Rails 5.2
At creation but seems like ActiveModel now returns:
Which based on the commit that affects this: Has defined For the temporary fix would prefer if we were explicit in the exception catch:
So then to catch and be specific which even then is still scary but only error we get:
That way we only raise for this particular mishandling. As for long term in terms of handling this not sure what we'd want to do if we should support similarly. Will continue to experiment. |
Oy, okay guess this goes deeper, I'm scared that we hide some exceptions with this temporary patch but there are other errors that can crop up and it isn't always a
This is also due to: Which will call:
|
Will add Rails 5.2 support ASAP |
@andrykonchin do you have a timeline when you might look at this? I may look at it some more at some point this week but wouldn't want to duplicate our efforts. |
@richardhsu The hot fix is ready. Please review. |
Thanks @andrykonchin and thanks @ryo19910801 for bring this to our attention! 👏 |
Is this support going to be added?
"activemodel/lib/active_model/attribute_mutation_tracker.rb" added since 5.2
I use in urgent response because it is not supported
override the method in which the error occurred
ryy@af5e331
The text was updated successfully, but these errors were encountered: