RubyGems Navigation menu

active_record-filter_with_scope 0.1.2

ActiveRecord::FilterWithScope extends Rails ActiveRecord gently to filter records out of the box. The handy tool that lets you filter your ActiveRecord models using the scopes you have already defined. All you need to do is map the filter parameters to the corresponding scopes in the setup, and then call the filter class method on your model.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.2 - August 29, 2023 (12 KB)
  2. 0.1.1 - August 28, 2023 (11.5 KB)
  3. 0.1.0 - August 28, 2023 (11.5 KB)

Runtime Dependencies (1):

activerecord ~> 7.0

Owners:

Pushed by:

Authors:

  • Olumide Omole

SHA 256 checksum:

2e275a978b84371e3b32ad2c937738b674f80dcdfda2e4213fee55230a2bb136

Total downloads 886

For this version 372

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: