class DeleteTempErrorMessage < ActiveRecord::Migration def up Organization.where(:id => 68).update_all(:name => "blankname") MessageAll.where(:message_id => 171).destroy_all OrgMessage.where(:id => 171).destroy_all MessageAll.where(:message_id => 16).destroy_all OrgMessage.where(:id => 16).destroy_all end def down end end