mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Show parent response rate
This commit is contained in:
parent
fcf8f011c2
commit
8984023aa4
12 changed files with 98 additions and 48 deletions
2
app/models/parent.rb
Normal file
2
app/models/parent.rb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
class Parent < ApplicationRecord
|
||||
end
|
||||
|
|
@ -8,6 +8,7 @@ class SurveyItemResponse < ActiveRecord::Base
|
|||
belongs_to :school
|
||||
belongs_to :survey_item, counter_cache: true
|
||||
belongs_to :student, foreign_key: :student_id, optional: true
|
||||
belongs_to :parent, optional: true
|
||||
belongs_to :gender, optional: true
|
||||
belongs_to :income, optional: true
|
||||
belongs_to :ell, optional: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue