Skip to content

The issue about two action use same one SaveOperation but with validate issue, and how? #1892

Answered by jwoertink
zw963 asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is what I would do, actually. Alternatively, you can just use User::SaveOperation.update!(user, is_editable: !user.is_editable) which will circumvent any callbacks and keep the SaveUser to just updating the password

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jwoertink
Comment options

Answer selected by zw963
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants