fix update contact data migration

This commit is contained in:
Priit Tark 2015-03-31 15:26:37 +03:00
parent 5fd73b037a
commit 0533d16028

View file

@ -10,7 +10,7 @@ class UpdateContactData < ActiveRecord::Migration
c.zip = a.zip
c.country_code = a.country_code
c.state = a.state
puts "#{c.id} changes: #{c.changes.inspect}; #{c.save(false)}"
puts "#{c.id} changes: #{c.changes.inspect}; #{c.save(validate: false)}"
end
end
end