Module: Filterable::Concerns::Datable

Extended by:
ActiveSupport::Concern
Defined in:
lib/filterable/concerns/datable.rb

Overview

Adds date filtering to a Filterable::Concern model. Declare the date columns with datable :value_date (or datable public_name: :db_column to alias), then the after/before/range/since filters operate on those columns only.