# File lib/active_support/core_ext/time/calculations.rb, line 103 def beginning_of_day self - self.seconds_since_midnight end