beginning_of_day()
Returns a new Time representing the start of the day (0:00)
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 171 def beginning_of_day change(:hour => 0) end