method
should_record_timestamps?
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::Timestamp
should_record_timestamps?()private
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 67
def should_record_timestamps?
self.record_timestamps && (!partial_updates? || changed? || (attributes.keys & self.class.serialized_attributes.keys).present?)
end