Class: Arel::Visitors::ToSql
- Inherits:
-
Object
- Object
- Arel::Visitors::ToSql
- Defined in:
- lib/schedule_attributes.rb
Instance Method Summary collapse
-
#visit_IceCube_Occurrence(value) ⇒ Object
Allow schedule occurrences to be used directly as Time objects in ActiveRecord queries.
Instance Method Details
#visit_IceCube_Occurrence(value) ⇒ Object
Allow schedule occurrences to be used directly as Time objects in ActiveRecord queries
12 13 14 |
# File 'lib/schedule_attributes.rb', line 12 def visit_IceCube_Occurrence(value) quoted(value.to_time) end |