Issue with translation migrations

This commit is contained in:
Godwin
2014-07-24 22:49:18 -06:00
parent 16d1f9fdf9
commit e69a95958f
+3 -1
View File
@@ -13,7 +13,9 @@ namespace :translations do
translation = Translation.find(hash['id'])
translation.update_attributes(hash)
rescue
Translation.new(hash).save
begin
Translation.new(hash).save
rescue; end
end
}
end