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