mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-17 01:45:53 -07:00
chore: show all disaggregations without error on analyze page
This commit is contained in:
parent
25e1a940b3
commit
8a8bd4846c
7 changed files with 20 additions and 17 deletions
|
|
@ -1,8 +1,7 @@
|
|||
module Dashboard
|
||||
class Student < ApplicationRecord
|
||||
# has_many :dashboard_survey_item_responses
|
||||
has_and_belongs_to_many :races, join_table: :dashboard_student_races, class_name: "Race",
|
||||
foreign_key: :dashboard_race_id, association_foreign_key: :dashboard_race_id
|
||||
has_many :student_races, class_name: "StudentRace", foreign_key: :dashboard_student_id
|
||||
has_many :races, through: :student_races, foreign_key: :dashboard_race_id
|
||||
|
||||
encrypts :lasid, deterministic: true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue