Issue with translation migrations
This commit is contained in:
parent
16d1f9fdf9
commit
e69a95958f
@ -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…
x
Reference in New Issue
Block a user