instance method
should_record_timestamps?
Ruby on Rails 8.0.4
Since v3.0.20 PrivateSignature
should_record_timestamps?()
No documentation comment.
Source
# File activerecord/lib/active_record/timestamp.rb, line 143
def should_record_timestamps?
record_timestamps && (!partial_updates? || has_changes_to_save?)
end
Defined in activerecord/lib/active_record/timestamp.rb line 143
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp