rails legacy database migration

Just migrated a legacy database into a rails compliant database – and wrote this nifty DSL script to help out….

The rake task generates the Hash data for the table creation, data insert and rollback scripts.

Once you run the rake task, paste the output into the migration modify the update table and column names – then run the migration.

One Response to “rails legacy database migration”

  1. wekajohn says:

    Choice! Real good, 5.times do :turner.brain < InsideOut.new;

Leave a Reply