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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.3.2 - May 16, 2023 (1.1 MB)
  2. 0.3.1 - February 19, 2023 (1.1 MB)
  3. 0.3.0 - January 19, 2023 (1.1 MB)
  4. 0.2.0 - December 22, 2022 (759.0 KB)
  5. 0.1.0 - July 22, 2022 (11.0 KB)

Runtime 依赖 (2):

业主:

推送:

作者:

  • Max VelDink

SHA 256 校验和:

2f9049d23c61b35c8dc1d8bc3a97c9ec9d7a9591655315ef6c845089892c9331

下载总量 2,879

这个版本 492

许可:

MIT

需要的 Ruby 版本: >= 2.7.0

新的版本需要开启多因素验证: true

使用多因素验证发布的版本: true

链接: