RubyGems Navigation menu

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.

Versions:

  1. 0.3.0 - January 19, 2023 (1.08 MB)
  2. 0.2.0 - December 22, 2022 (759 KB)
  3. 0.1.0 - July 22, 2022 (11 KB)

Runtime Dependencies (2):

Owners:

Pushed by:

Authors:

  • Max VelDink

SHA 256 checksum:

2f9049d23c61b35c8dc1d8bc3a97c9ec9d7a9591655315ef6c845089892c9331

Total downloads 844

For this version 191

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Links: