method

timestamps

rails latest stable - Class: ActiveRecord::ConnectionAdapters::TableDefinition

Method not available on this version

This method is only available on newer versions. The first available version (v2.0.3) is shown here.

timestamps()
public

Appends :datetime columns :created_at and :updated_at to the table.