yesterday()
Returns the previous date in this time zone.
# File activesupport/lib/active_support/values/time_zone.rb, line 524 def yesterday today - 1 end