module

Getting ranges in different convenient string representations and other objects

Constants

RANGE_FORMATS = { :db => Proc.new { |start, stop| "BETWEEN '#{start.to_s(:db)}' AND '#{stop.to_s(:db)}'" }

Files

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