This commit is contained in:
Nicolas Bally 2021-05-15 11:07:21 +02:00
parent 64ce04995d
commit 2967c3a782

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