class ActiveSupport::TimeZone

def yesterday

Returns the previous date in this time zone.
def yesterday
  today - 1
end