module

ActiveSupport::RangeWithFormat

No documentation available for this module.

Constants

RANGE_FORMATS = {\ndb: -> (start, stop) do\ncase start\nwhen String then "BETWEEN '#{start}' AND '#{stop}'"\nelse\n"BETWEEN '#{start.to_formatted_s(:db)}' AND '#{stop.to_formatted_s(:db)}'"\nend\nend\n}

Files

  • activesupport/lib/active_support/core_ext/range/conversions.rb