fixed a ActiveRecord::ReadOnlyRecord error occuring during the migration

Occurs on rails 3.2 with a db seeded with data.