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