kangaroo court

A Ruby on Rails Hacker's blog about software & technology

Main menu

Skip to primary content
Skip to secondary content
  • blog home
  • projects
  • concept47
  • twitter

Post navigation

← Previous Next →

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
end

change_table :products do |t| t.timestamps end

This entry was posted in rails by concept47. Bookmark the permalink.
You should follow me on Twitter!
@concept47