Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 300 Bytes
class RenamedRmaCancelledState < ActiveRecord::Migration
class ReturnAuthorization < ActiveRecord::Base
end
def self.up
ReturnAuthorization.where(:state => 'cancelled').each do |rma|
rma.update_attribute_without_callbacks(:state, 'canceled')
end
end
def self.down
end
end
Jump to Line
Something went wrong with that request. Please try again.