activerecord-ejection_seat 0.3.2
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:
=
installation:
=
Dépendances de Runtime (2):
activerecord
>= 6.0
sorbet-runtime
>= 0