"ActiveRecord" Archives

Getting Started With Rails Migrations Part 1: Creating Migrations

Posted on 13 January 2009 View Comments

A migration is simply a Ruby source file in your application’s db/migrate directory. These files help to make small changes to the database extremely easy and quick. Want to add a table or rename a column? Write another migration and run rake db:migrate. With automatic versioning you are able to see the changes made to [...]

Continue Reading...