= private = protected
ago(seconds)
Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then subtracts the specified number of seconds
# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 52 def ago(seconds) to_time.since(-seconds) end