From e69a95958f348a952f50a41d98c9dbe663dfe245 Mon Sep 17 00:00:00 2001 From: Godwin Date: Thu, 24 Jul 2014 22:49:18 -0600 Subject: [PATCH] Issue with translation migrations --- lib/tasks/translations.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tasks/translations.rake b/lib/tasks/translations.rake index d1979d7..8d3e8f4 100644 --- a/lib/tasks/translations.rake +++ b/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