diff --git a/app/models/survey_response.rb b/app/models/survey_response.rb index ace1da1..9e5135b 100644 --- a/app/models/survey_response.rb +++ b/app/models/survey_response.rb @@ -5,7 +5,8 @@ class SurveyResponse < ApplicationRecord before_save :sanitize_array_values after_save_commit :enqueue_export_to_graph - + after_create :enqueue_keyword_extraction + validates_presence_of :response_id validates_uniqueness_of :response_id