method
current_time_from_proper_timezone
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::Timestamp::ClassMethods
current_time_from_proper_timezone()public
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 79
def current_time_from_proper_timezone
with_connection { |c| c.default_timezone == :utc ? Time.now.utc : Time.now }
end