app/models/decidim/meetings/question.rb in decidim-meetings-0.28.4 vs app/models/decidim/meetings/question.rb in decidim-meetings-0.29.0.rc1

- old
+ new

@@ -26,9 +26,10 @@ inverse_of: :question validates :question_type, inclusion: { in: QUESTION_TYPES } scope :visible, -> { where(status: [:published, :closed]) } + scope :unanswered, -> { where.missing(:answers) } def multiple_choice? %w(single_option multiple_option).include?(question_type) end