chore: show all disaggregations without error on analyze page

This commit is contained in:
Nelson Jovel 2024-01-31 15:06:16 -08:00
parent 25e1a940b3
commit 8a8bd4846c
7 changed files with 20 additions and 17 deletions

View file

@ -1,6 +1,6 @@
module Dashboard
class StudentRace < ApplicationRecord
belongs_to :dashboard_student
belongs_to :dashboard_race
belongs_to :student, optional: true, class_name: "Student", foreign_key: :dashboard_student_id
belongs_to :race, optional: true, class_name: "Race", foreign_key: :dashboard_race_id
end
end