crecto v0.4.2 Release Notes
Release Date: 2017-03-21 // about 7 years ago-
- โ added validate_length with array parameter @metacortex
- ๐ supports IS NULL in .where query -
.where(name: nil)
- ๐จ schema refactor
- (breaking change) added
#get!
and#get_by
to Repo.#get
and#get_by
will return nil if no record exists (nilable), where#get!
and#get_by
will raise an errorif no record exists (not nilable) - using
belongs_to
association will auto set the foreign key (belongs_to :user, User
will assumefield :user_id, PkeyValue
)