activerecord-ejection_seat 0.1.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:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
>= 5.2