mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
chore: speed up survey data loader
This commit is contained in:
parent
4360014faa
commit
8d31faf012
1 changed files with 3 additions and 3 deletions
|
|
@ -61,15 +61,15 @@ class SurveyResponsesDataLoader
|
|||
private
|
||||
|
||||
def schools
|
||||
@schools = School.by_dese_id
|
||||
@schools ||= School.by_dese_id
|
||||
end
|
||||
|
||||
def genders
|
||||
@genders = Gender.by_qualtrics_code
|
||||
@genders ||= Gender.by_qualtrics_code
|
||||
end
|
||||
|
||||
def races
|
||||
@races = Race.by_qualtrics_code
|
||||
@races ||= Race.by_qualtrics_code
|
||||
end
|
||||
|
||||
def incomes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue