Module: Filterable::ValueNormalization

Defined in:
lib/filterable/value_normalization.rb

Overview

Shared by the filters that hand a params value to the query: coerce a raw value into a scalar or an array of scalars, or nil when nothing usable remains, so a blank or malformed value narrows nothing.