RubyGems Navigation menu

activerecord-delegation-expected_behaviour 1.3.0

In Rails 5 you can no longer call some ActiveRecord class methods named like their Enumerable counterparts. This gem reinstates the expected behaviour, where you can always get the method from Enumerable by calling to_a on the relation.

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 1.7.0 - November 09, 2023 (5 KB)
  2. 1.6.0 - May 22, 2023 (5 KB)
  3. 1.5.0 - May 01, 2020 (5 KB)
  4. 1.4.0 - August 20, 2019 (5 KB)
  5. 1.3.0 - April 16, 2018 (5 KB)
Mostrar todas as versões (9)

Runtime Dependencies (1):

activerecord ~> 5.2.0

Development Dependencies (6):

bundler ~> 1.14
byebug >= 0
minitest ~> 5.0
rake ~> 10.0
simplecov >= 0
sqlite3 >= 0

Donos:

Autores:

  • Matthias Grosser

SHA 256 checksum:

77c0dd628d92c21c3fcff258716657d042191eeb58b4cd3d9d24fa5fea1df701

Total de downloads 16.375

Desta versão 2.259

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: