From f913cb74b5690b2c4ed0a51f6ff23bdb499b09a5 Mon Sep 17 00:00:00 2001 From: Stephen Chudleigh Date: Fri, 10 Jan 2025 11:44:34 -0800 Subject: [PATCH] remove unnecessary association that is breaking things --- app/models/submission.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/submission.rb b/app/models/submission.rb index b4ce0246..ff3ba4ba 100644 --- a/app/models/submission.rb +++ b/app/models/submission.rb @@ -33,7 +33,6 @@ class Submission < ApplicationRecord belongs_to :challenge belongs_to :phase, counter_cache: true belongs_to :submitter, class_name: 'User' - belongs_to :manager, class_name: 'User' has_many :evaluator_submission_assignments, dependent: :destroy has_many :evaluators, through: :evaluator_submission_assignments, class_name: "User" has_many :evaluations, dependent: :destroy