We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#update
#delete
repo.exec(user.update(updated_at: Time.now))
Doesn't work now, as Model#update requires Changeset argument.
Model#update
Changeset
The text was updated successfully, but these errors were encountered:
I think that it would be better to add argless update and delete shortcuts:
update
delete
user.update == User.where(id: user.id!).update
The first example would be changed to:
repo.exec(user.update.set(updated_at: Time.now))
Sorry, something went wrong.
vladfaust
No branches or pull requests
Doesn't work now, as
Model#update
requiresChangeset
argument.The text was updated successfully, but these errors were encountered: