onyxframework / sql

A delightful SQL ORM ☺️
https://api.onyxframework.com/sql
MIT License
91 stars 7 forks source link

Rename `Changeset#update` to `#set` #96

Open vladfaust opened 5 years ago

vladfaust commented 5 years ago

To be consistent with Query methods. May be a little tedious, though:

changeset = user.changeset
changeset.set(updated_at: Time.now)