2 3 4
# File 'lib/coaster/core_ext/date.rb', line 2 def to_time_range beginning_of_day...(self + 1.day).beginning_of_day end