From e415b716e9b1896d7bda8a07e958c8dab17c1e53 Mon Sep 17 00:00:00 2001 From: CoralineAda Date: Sun, 16 Jun 2024 21:59:23 -0500 Subject: [PATCH] Don't regenerate keywords on save --- app/models/survey_response.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/models/survey_response.rb b/app/models/survey_response.rb index f014a75..bd77783 100644 --- a/app/models/survey_response.rb +++ b/app/models/survey_response.rb @@ -52,9 +52,12 @@ def identifier self.id.to_s.rjust(4, "0") end + def enqueue_keyword_extraction + KeywordExtractorJob.perform_async(self.id) + end + def enqueue_export_to_graph ExportToGraphJob.perform_async(self.id) - KeywordExtractorJob.perform_async(self.id) end def to_graph