activerecord-ejection_seat 0.2.0
When working with ActiveRecord models, sometimes you want to eject to a simpler, safer object. Enter Sorbet's T::Struct. This gem makes it much easier to target a Sorbet T::Struct and eject from an ActiveRecord model into the struct. It also allows you to buckle in from a simple struct to a new ActiveRecord model instance.
Gemfile:
=
instalar:
=
Runtime Dependencies (2):
activerecord
>= 5.2
sorbet-runtime
>= 0