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:
=

instalar:
=

Versões:

  1. 1.0.0 May 15, 2019 (4,5 KB)

Runtime Dependencies (1):

activerecord >= 4.0.0

Development Dependencies (4):

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

Donos:

Autores:

  • Branislav Petrovic

SHA 256 checksum:

=

Total de downloads 14.298

Desta versão 14.298

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: