RubyGems Navigation menu

activerecord-ejection_seat 0.3.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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.3.2 - May 16, 2023 (1,13 MB)
  2. 0.3.1 - February 19, 2023 (1,12 MB)
  3. 0.3.0 - January 19, 2023 (1,08 MB)
  4. 0.2.0 - December 22, 2022 (759 KB)
  5. 0.1.0 - July 22, 2022 (11 KB)

dependencias de Runtime (2):

Propietarios:

Subida por:

Autores:

  • Max VelDink

SHA 256 checksum:

3bf158875e509248b5028cacb0f14ed2afa1f6956a3950ee81b3953f785788db

Total de descargas 2.707

Para esta versión 447

Licencia:

MIT

Versión de Ruby requerida: >= 3.0.0

Nuevas versiones requieren AMF: true

Versión publicada con AMF: true

Enlace: