RubyGems Navigation menu

activerecord-delegation-expected_behaviour 1.7.0

Since 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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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 las versiones (9 total)

dependencias de Runtime (1):

activerecord ~> 7.1.0

dependencias de Development (6):

bundler >= 0
byebug >= 0
minitest >= 0
rake >= 0
simplecov >= 0
sqlite3 >= 0

Propietarios:

Subida por:

Autores:

  • Matthias Grosser

SHA 256 checksum:

7fccbc1a3dfa925a98496c7e5c50e908e24dcada3d3daf88fee938bd11980492

Total de descargas 16.272

Para esta versión 310

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: