method
current_time_from_proper_timezone
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Timestamp
current_time_from_proper_timezone()private
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 109
def current_time_from_proper_timezone
self.class.default_timezone == :utc ? Time.now.utc : Time.now
end