RubyGems Navigation menu

activerecord-delegation-expected_behaviour 1.9.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:
=

install:
=

Versions:

  1. 1.9.0 February 05, 2026 (5 KB)
  2. 1.8.0 August 16, 2024 (5 KB)
  3. 1.7.0 November 09, 2023 (5 KB)
  4. 1.6.0 May 22, 2023 (5 KB)
  5. 1.5.0 May 01, 2020 (5 KB)
Show all versions (11 total)

Runtime Dependencies (1):

activerecord ~> 8.1

Owners:

Pushed by:

Authors:

  • Matthias Grosser

SHA 256 checksum:

=

Total downloads 19,695

For this version 75

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: