sqm-dashboards/app/presenters/analyze/graph/column/american_indian.rb
rebuilt 105f30f220 Change race score calculations so the average bubbles up through survey_items
-> scales -> measure.
Precalculate averages for performance.
2022-08-10 09:58:11 -07:00

30 lines
534 B
Ruby

# frozen_string_literal: true
module Analyze
module Graph
module Column
class AmericanIndian < GroupedBarColumnPresenter
include Analyze::Graph::Column::ScoreForRace
def label
'American Indian'
end
def basis
'student'
end
def show_irrelevancy_message?
false
end
def show_insufficient_data_message?
false
end
def race
Race.find_by_qualtrics_code 1
end
end
end
end
end