lib/survey_gizmo/api/question.rb in survey-gizmo-ruby-6.1.1 vs lib/survey_gizmo/api/question.rb in survey-gizmo-ruby-6.1.2
- old
+ new
@@ -49,10 +49,10 @@
@sub_question_skus.map { |sku| sku.is_a?(Array) ? sku[1] : sku }
end
def sub_questions
@sub_questions ||= sub_question_skus.map do |sku|
- SurveyGizmo.configuration.logger.warn("Have to do individual load of sub question #{sku}...")
+ SurveyGizmo.configuration.logger.debug("Have to do individual load of sub question #{sku}...")
subquestion = Question.first(survey_id: survey_id, id: sku)
subquestion.parent_question_id = id
subquestion
end
end