How to add updated_at and created_at (timestamps) columns to an existing table in rails Posted on December 23, 2009 by concept47 From Rails Guides … change_table :products do |t| t.timestamps endchange_table :products do |t| t.timestamps end