mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-14 17:25:55 -07:00
dirty commit: can't get references to work correctly between any tables
This commit is contained in:
parent
e1f0b78236
commit
a4fddbeced
183 changed files with 5461 additions and 5 deletions
9
app/models/dashboard/student.rb
Normal file
9
app/models/dashboard/student.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
module Dashboard
|
||||
class Student < ApplicationRecord
|
||||
# has_many :dashboard_survey_item_responses
|
||||
has_many :dashboard_student_races
|
||||
has_and_belongs_to_many :races, join_table: :student_races
|
||||
|
||||
encrypts :lasid, deterministic: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue