Module: ChronoModel::TimeMachine::TimeQuery
- Included in:
- HistoryModel::ClassMethods
- Defined in:
- lib/chrono_model/time_machine/time_query.rb
Overview
TODO Documentation
Instance Method Summary collapse
Instance Method Details
#time_query(match, time, options) ⇒ Object
9 10 11 12 13 |
# File 'lib/chrono_model/time_machine/time_query.rb', line 9 def time_query(match, time, ) range = columns_hash.fetch([:on].to_s) where(time_query_sql(match, time, range, )) end |