Module: Filterable::Concerns::Scopable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/filterable/concerns/scopable.rb
Overview
Adds scope delegation to a Filterable::Concern model. Declare the scopes
with scopable :cheaper_than (or scopable public_name: :scope_name to
alias), then filters[<name>] hands its value to those scopes only.