All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updates dependencies
- Adds
.ejects_to
toActiveRecord::Base
that can be used to specify a SorbetT::Struct
that can be converted for that model. - If
.ejects_to
is specified on a model, adds the#eject
method to the model to convert to aT::Struct
. This is aliased to#to_struct
. - If
.ejects_to
is specified on a model, adds the.buckle
method to the model class to initialize from aT::Struct
. This is aliased to#from_struct
.