fixes old migrations
Merge pull request #231 from opf/feature/rails3_fix_old_migrations

fixes old migrations