app/models/offerings/offering_questions/offering_question.rb
def attribute_to_update_is_valid?
    if attribute_to_update.blank? && !dynamic_answer? && !QUESTION_TYPES_NOT_REQUIRING_ATTRIBUTE_TO_UPDATE.include?(display_as)
      errors.add_to_base "You must specify the attribute to update, or mark this question as a 'dynamic answer'"
    end
  end
# Users must define an +attribute_to_update+ or they must mark this question as a dynamic answer. Otherwise the question
# is not valid.
Users must define an +attribute_to_update+ or they must mark this question as a dynamic answer. Otherwise the question
is not valid.
Users must define an + attribute_to_update + or they must mark this question as a dynamic answer . Otherwise the question is not valid .
def attribute_to_update_is_valid?
    if attribute_to_update.blank? && !dynamic_answer? && !QUESTION_TYPES_NOT_REQUIRING_ATTRIBUTE_TO_UPDATE.include?(display_as)
      errors.add_to_base "You must specify the attribute to update, or mark this question as a 'dynamic answer'"
    end
  end
def attribute_to_update_is_valid? if attribute_to_update . blank? && ! dynamic_answer? && ! QUESTION_TYPES_NOT_REQUIRING_ATTRIBUTE_TO_UPDATE . include? ( display_as ) errors . add_to_base "You must specify the attribute to update, or mark this question as a 'dynamic answer'" end end
Users must define an +attribute_to_update+ or they must mark this question as a dynamic answer.
Users must define an + attribute_to_update + or they must mark this question as a dynamic answer .