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 Jul 21, 2020. It is now read-only.
Whenever I try to update an attribute of the user, the password validations kick in and throws an error because no password is sent to the update.
I don't want to turn off validations and use save(false) everywhere but registration. And I want to use update_attributes(params[:user]) since it's very convenient.
Is there a way to only have the password validations kick in when the password is supposed to be validated (ie on registration and password change)?
Thanks!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Whenever I try to update an attribute of the user, the password validations kick in and throws an error because no password is sent to the update.
I don't want to turn off validations and use save(false) everywhere but registration. And I want to use update_attributes(params[:user]) since it's very convenient.
Is there a way to only have the password validations kick in when the password is supposed to be validated (ie on registration and password change)?
Thanks!
The text was updated successfully, but these errors were encountered: