about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/monsterfork.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/monsterfork.rake b/lib/tasks/monsterfork.rake
index d7b25de78..14e001f4b 100644
--- a/lib/tasks/monsterfork.rake
+++ b/lib/tasks/monsterfork.rake
@@ -16,7 +16,7 @@ def index_statuses(statuses_query)
           normalized_text = normalize_status(s)
           if s.normalized_status.nil?
             s.create_normalized_status(text: normalized_text)
-          else
+          elsif s.normalized_status.text != normalized_text
             s.normalized_status.update_column(:text, normalized_text)
           end
         rescue ActiveRecord::RecordNotFound