module
rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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