fixed a ActiveRecord::ReadOnlyRecord error occuring during the migration when rails 3.2 is used and there's existing data in the db.