mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
chore: upgrade to rails 7.1.
upgrade rspec fix failing tests upgrade devise
This commit is contained in:
parent
2fd56047d4
commit
18ab51c860
12 changed files with 268 additions and 238 deletions
|
|
@ -8,9 +8,10 @@ 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 :gender
|
||||
belongs_to :income
|
||||
belongs_to :ell
|
||||
belongs_to :gender, optional: true belongs_to :gender, optional: true
|
||||
belongs_to :income, optional: true
|
||||
belongs_to :ell, optional: true
|
||||
belongs_to :sped, optional: true
|
||||
|
||||
has_one :measure, through: :survey_item
|
||||
|
||||
|
|
@ -45,3 +46,4 @@ class SurveyItemResponse < ActiveRecord::Base
|
|||
}
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue