diff --git a/app/models/lesson.rb b/app/models/lesson.rb index e2dad90be..13084d0d5 100644 --- a/app/models/lesson.rb +++ b/app/models/lesson.rb @@ -286,7 +286,7 @@ def probable_start_destination end def tags_without_section - tags.includes(:sections).select { |t| (t.sections & sections).empty? } + tags.includes(:sections).select { |t| (t.sections & sections).empty? } # rubocop:disable Style/ArrayIntersect end private