You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
I'm new to this gem, so pardon me if I'm misunderstanding something. This is totally possible.
I have a User model which is using ActiveRestClient (1.2.0). I'm unable to access the standard model#update_attributes aliased for model#update found in ActiveRecord::Persistence. However, update_attribute is found.
When using the console, I can see that these methods are nil. I feel like ActiveRestClient should support these standard methods, or the documentation should describe why they are not supported and suggest model#save only.
The text was updated successfully, but these errors were encountered:
The reason it doesn't it that we've tried to map as few methods in to the namespace as possible - that way they are available for attribute names and mapped method names (because often uses of ActiveRestClient, and Flexirest don't control the API).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm new to this gem, so pardon me if I'm misunderstanding something. This is totally possible.
I have a User model which is using ActiveRestClient (1.2.0). I'm unable to access the standard
model#update_attributes
aliased formodel#update
found in ActiveRecord::Persistence. However,update_attribute
is found.When using the console, I can see that these methods are nil. I feel like ActiveRestClient should support these standard methods, or the documentation should describe why they are not supported and suggest
model#save
only.The text was updated successfully, but these errors were encountered: