This commit is contained in:
Nicolas Bally 2021-05-15 11:09:05 +02:00
parent 2967c3a782
commit d244220d03

View File

@ -7,7 +7,7 @@ class QuestionSet < ActiveRecord::Base
accepts_nested_attributes_for :answer_sets accepts_nested_attributes_for :answer_sets
scope :dont_answered, -> includes(:answer_sets).where("answer_sets.is_checked == ?", false) scope :dont_answered, -> { includes(:answer_sets).where("answer_sets.is_checked == ?", false) }
end end