Home
Ruby on Rails
Cheatsheets
Creates an index for the specified column.
add_index :table_name, :column_name, :unique => true
Remove an index from the specified column.
remove_index :table_name, :column_name
A look at the new features and syntax available in migrations on Rails 2.0
More
A brilliant plugin that makes changing your database schema even easier and faster.
More