From 38f5591aa18a25a1f54c7280310df824621f8e8a Mon Sep 17 00:00:00 2001 From: Emma Whamond Date: Fri, 27 Dec 2024 13:55:45 -0600 Subject: [PATCH] 292 | Remove eager loading of evaluators --- app/controllers/phases_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/phases_controller.rb b/app/controllers/phases_controller.rb index 56348521..97d91447 100644 --- a/app/controllers/phases_controller.rb +++ b/app/controllers/phases_controller.rb @@ -33,7 +33,7 @@ def set_phase def include_evaluator_associations return unless @submissions.any? && evaluator_assignments? - @submissions = @submissions.includes(:evaluators, evaluator_submission_assignments: :evaluator) + @submissions = @submissions.includes(evaluator_submission_assignments: :evaluator) end def evaluator_assignments?