Open vladfaust opened 5 years ago
I think that it would be better to add argless update
and delete
shortcuts:
user.update == User.where(id: user.id!).update
The first example would be changed to:
repo.exec(user.update.set(updated_at: Time.now))
Doesn't work now, as
Model#update
requiresChangeset
argument.