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