RubyGems Navigation menu

activerecord-take_or_find 1.0.0

Gem activerecord-take_or_find provides a method on your ActiveRecord models. Depending on the passed argument, which can either be a number (ID) or instance of that model, it lets you either find a record by the ID or use the record itself.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.0.0 - May 15, 2019 (4.5KB)

Runtime依存関係 (1):

activerecord >= 4.0.0

Development依存関係 (4):

rake ~> 12
rspec ~> 3.8
sqlite3 ~> 1.3.13

所有者:

作者:

  • Branislav Petrovic

SHA 256チェックサム:

0449f19a117cf2d114c1b1dc1a76b963c6b0a3a599a4cf116934e10bb00b7c20

累計ダウンロード数 14,156

このバージョンのみ 14,156

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: