Returns the TimeZone for the current
request, if this has been set (via Time.zone=). If Time.zone has
not been set for the current
request, returns the TimeZone specified in
config.time_zone.
# File activesupport/lib/active_support/core_ext/time/zones.rb, line 14
def zone
Thread.current[:time_zone] || zone_default
end