-
Notifications
You must be signed in to change notification settings - Fork 86
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
ActiveModel::UnkownAttributeError in Rails 5.2 #37
Comments
Hi @destructobeam! Thanks for pointing that out, I'll try to investigate it next week |
@destructobeam I've written a spec for this case, and it seems to be working. Could you please review my PR and let me know what's missing or come up with a failing test? Also, please check what version you're using, |
Hi @destructobeam, did you have a chance to take a look at it? |
@DmitryTsepelev Not yet sorry, been pretty busy. Will be able to take a look this week or next though. |
Closing the issue for now |
Hi there,
It looks like when an attribute is removed from a
StoreModel::Model
and a value exists for it in the JSON, Rails is raising anActiveModel::UnkownAttributeError
when deserialising from the database. This is happening to me on a nested model.Possibly related to issue #22
Thanks!
The text was updated successfully, but these errors were encountered: