current()
public
Returns Time.zone.now when Time.zone or
config.time_zone are set, otherwise just returns
Time.now.
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 39
def current
::Time.zone ? ::Time.zone.now : ::Time.now
end