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.

Required Ruby Version

>= 3.0.0

Authors

Olumide Omole

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)

Pushed by

SHA 256 checksum