app/models/decidim/forms/answer.rb in decidim-forms-0.25.2 vs app/models/decidim/forms/answer.rb in decidim-forms-0.26.0.rc1

- old
+ new

@@ -20,9 +20,10 @@ validate :user_questionnaire_same_organization validate :question_belongs_to_questionnaire scope :not_separator, -> { joins(:question).where.not(decidim_forms_questions: { question_type: Decidim::Forms::Question::SEPARATOR_TYPE }) } + scope :not_title_and_description, -> { joins(:question).where.not(decidim_forms_questions: { question_type: Decidim::Forms::Question::TITLE_AND_DESCRIPTION_TYPE }) } def self.user_collection(user) where(decidim_user_id: user.id) end