RubyGems Navigation menu

activerecord-delegation-expected_behaviour 1.1.1

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

installation:
=

Versions:

  1. 1.8.0 August 16, 2024 (5 ko)
  2. 1.7.0 November 09, 2023 (5 ko)
  3. 1.6.0 May 22, 2023 (5 ko)
  4. 1.5.0 May 01, 2020 (5 ko)
  5. 1.4.0 August 20, 2019 (5 ko)
  6. 1.1.1 April 18, 2017 (5 ko)
Voir toutes les versions (10)

Dépendances de Runtime (1):

activerecord < 5.1, >= 5.0

Dépendances de Development (6):

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

Propriétaires:

Auteurs:

  • Matthias Grosser

Total de contrôle SHA 256:

=

Total de téléchargements 17 722

Pour cette version 2 330

Version publiée:

License:

MIT

Version de Ruby requise: >= 0

Liens: