|
|
|
@ -8,7 +8,7 @@ class SurveyItemResponse < ActiveRecord::Base
|
|
|
|
belongs_to :school
|
|
|
|
belongs_to :school
|
|
|
|
belongs_to :survey_item, counter_cache: true
|
|
|
|
belongs_to :survey_item, counter_cache: true
|
|
|
|
belongs_to :student, foreign_key: :student_id, optional: true
|
|
|
|
belongs_to :student, foreign_key: :student_id, optional: true
|
|
|
|
belongs_to :gender, optional: true belongs_to :gender, optional: true
|
|
|
|
belongs_to :gender, optional: true
|
|
|
|
belongs_to :income, optional: true
|
|
|
|
belongs_to :income, optional: true
|
|
|
|
belongs_to :ell, optional: true
|
|
|
|
belongs_to :ell, optional: true
|
|
|
|
belongs_to :sped, optional: true
|
|
|
|
belongs_to :sped, optional: true
|
|
|
|
@ -46,4 +46,3 @@ class SurveyItemResponse < ActiveRecord::Base
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|