instance method
current_time_from_proper_timezone
Ruby on Rails 2.3.18
Since v2.3.18 PrivateSignature
current_time_from_proper_timezone()
No documentation comment.
Source
# File activerecord/lib/active_record/timestamp.rb, line 67
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 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp