Module: Filterable::Equatable
- Defined in:
- lib/filterable/equatable.rb
Overview
Narrows a relation by equality from filters[<attribute>]. Only attributes
the model declared equatable are honored: a scalar value compares with
= and an array of scalars with IN. A blank or non-scalar value (e.g. a
hash injected through the query string) narrows nothing.