You may need to reset_column_information before you run the update; and it's good practice to define the AR class in the migration if you're using models in there...
http://guides.rubyonrails.org/migrations.html#using-models-in-your-migrations