instance method
remove_timestamps
Ruby on Rails 4.0.13
Since v2.2.3Signature
remove_timestamps()
Removes the timestamp columns (created_at and updated_at) from the table.
t.remove_timestamps
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 442
def remove_timestamps
@base.remove_timestamps(@table_name)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 442
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Table