instance method
current_time_from_proper_timezone
Ruby on Rails 4.0.13
Since v2.3.18 PrivateSignature
current_time_from_proper_timezone()
No documentation comment.
Source
# File activerecord/lib/active_record/timestamp.rb, line 107
def current_time_from_proper_timezone
self.class.default_timezone == :utc ? Time.now.utc : Time.now
end
Defined in activerecord/lib/active_record/timestamp.rb line 107
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp