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