Browse Source

Issue with translation migrations

development
Godwin 11 years ago
parent
commit
e69a95958f
  1. 4
      lib/tasks/translations.rake

4
lib/tasks/translations.rake

@ -13,7 +13,9 @@ namespace :translations do
translation = Translation.find(hash['id']) translation = Translation.find(hash['id'])
translation.update_attributes(hash) translation.update_attributes(hash)
rescue rescue
Translation.new(hash).save begin
Translation.new(hash).save
rescue; end
end end
} }
end end

Loading…
Cancel
Save