method
max_updated_column_timestamp
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::Timestamp
max_updated_column_timestamp(timestamp_names = self.class.send(:timestamp_attributes_for_update))private
No documentation available.
# File activerecord/lib/active_record/timestamp.rb, line 137
def max_updated_column_timestamp(timestamp_names = self.class.send(:timestamp_attributes_for_update))
timestamp_names
.map { |attr| self[attr] }
.compact
.map(&:to_time)
.max
end