# File lib/active_support/core_ext/time/calculations.rb, line 190 def beginning_of_day #(self - seconds_since_midnight).change(:usec => 0) change(:hour => 0) end