method
current_time_from_proper_timezone
rails latest stable - Class:
ActiveRecord::Timestamp::ClassMethods
current_time_from_proper_timezone()public
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 77
def current_time_from_proper_timezone
connection.default_timezone == :utc ? Time.now.utc : Time.now
end