prev_day()
Returns a new date/time representing the previous day.
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 22 def prev_day advance(days: -1) end