Browse Source

Issue with translation migrations

development
Godwin 10 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.update_attributes(hash)
rescue
Translation.new(hash).save
begin
Translation.new(hash).save
rescue; end
end
}
end

Loading…
Cancel
Save