I\'m creating a bunch of migrations, some of which are standard \"create table\" or \"modify table\" migrations, and some of which modify data. I\'m using my actual ActiveRecor
I always used new models in migrations
MyBlog < ActiveRecord::Base set_table_name 'blogs' end def self.up MyBlog.all.each do |blog| update_some_blog_attributes_to_match_new_schema end end
But Blog.reset_column_information is more convenient.
Blog.reset_column_information