search for: _execute_

Displaying 1 result from an estimated 1 matches for "_execute_".

Did you mean: _executed
2006 Jan 24
1
Rather sticky migrate problem
Here''s the problem... Typo has ~35 migrate scripts. Script 3 makes a minor schema change, then migrates data to the new schema. For instance: add_column :articles, :user_id, :integer Article.find(:all).each do |a| a.user=User.find_by_name(a.author) a.save end This makes sense... except that a revision 35 model has been instantiated on a revision 3 schema!