From 05617add98f023a492bec4786a1ff5f974781b1f Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 19 Oct 2022 00:57:37 +0300 Subject: [PATCH] Remove eagerness --- app/controllers/management/feedback_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/management/feedback_controller.rb b/app/controllers/management/feedback_controller.rb index a28921d..8cf0e7e 100644 --- a/app/controllers/management/feedback_controller.rb +++ b/app/controllers/management/feedback_controller.rb @@ -7,7 +7,7 @@ module Management private def find_conference - Conference.eager_load(:feedbacks, :feedbacks_with_comment, :event_feedbacks, :event_feedbacks_with_comment).find(params[:conference_id]) + Conference.find(params[:conference_id]) end end end