Module: Filterable::Concerns::Rangeable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/filterable/concerns/rangeable.rb
Overview
Adds numeric bound filtering to a Filterable::Concern model. Declare the
columns with rangeable :gross_amount_cents (or +rangeable public_name:
:db_column+ to alias), then the min/max filters operate on those columns
only, both bounds inclusive.