Module: Filterable::Concerns::Equatable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/filterable/concerns/equatable.rb
Overview
Adds equality filtering to a Filterable::Concern model. Declare the columns
with equatable :reference (or equatable public_name: :db_column to
alias), then filters[<attribute>] compares with = (scalar value) or
IN (array value) on those columns only.