module

ActiveSupport::RangeWithFormat

v6.1.7.7 - Show latest stable

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_s(:db)}' AND '#{stop.to_s(:db)}'"\nend\nend\n}

Files

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