her
her copied to clipboard
Orm#save fails if an attribute "class" is present
If the json response contains an attribute named class, the getter created around the attribute in
https://github.com/remiprev/her/blob/master/lib/her/model/attributes.rb#L55
will mask the model.class method called two lines down. In my case the attribute class was nil.
Adding class to the list of reserved words fixes the issue.