instance method
timestamp_attributes_for_create_in_model
Ruby on Rails 3.1.12
Since v3.1.12 PrivateSignature
timestamp_attributes_for_create_in_model()
No documentation comment.
Source
# File activerecord/lib/active_record/timestamp.rb, line 71
def timestamp_attributes_for_create_in_model
timestamp_attributes_for_create.select { |c| self.class.column_names.include?(c.to_s) }
end
Defined in activerecord/lib/active_record/timestamp.rb line 71
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Timestamp