If you are running Rails Edge from github, you can now get Super Sexy Migrations, like this:
1 2 3 4 5 6 |
change_table :videos do |t| t.timestamps t.belongs_to :goat t.string :name, :email, :limit => 20 t.remove :name, :email # => that's right - remove finally takes an array! end |
Check out the railscast video for more details.