Migration: Adding/Removing columns are now much easier
You may have noticed by now, that in Rails 2.0 changeset 7422, you can specify columns you want to add/remove in your migration by passing attribute:type pairs to the migration generator. For example, lets assume that we need to add a column ‘role’ in users table(User model). In this case generate a migration like: Output: … Continue reading Migration: Adding/Removing columns are now much easier