instance method
timestamp_attributes_for_update_in_model
Ruby on Rails 5.1.7
Since v3.0.20Signature
timestamp_attributes_for_update_in_model()
No documentation comment.
Source
# File activerecord/lib/active_record/timestamp.rb, line 68
def timestamp_attributes_for_update_in_model
timestamp_attributes_for_update.select { |c| column_names.include?(c) }
end
Defined in activerecord/lib/active_record/timestamp.rb line 68
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp