tokyorails/tokyorails — comment on commit 1bdd220bd29836bc11f415828ac9b7c725a806aa
File:  line 0
By rurounijones:

Ok, looking at the image db entry member_id is a string but needs to be an integer for it to work with has/belongs_to.

We could create a new migration (plus data migration) that changes member_id from string to integer. Or we could just go and edit the original migration.

While that is usually a bad idea I think in this case, with a new DB and nothing important on it that cannot be re-created after a rake db:migrate:rest I think it is worth the time saved messing about with data migrations.

If no one objects then I will do that this evening.