mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
chore: handle cases where the pivot table inserts headers instead of actual values for gender and race
This commit is contained in:
parent
8c0faa3445
commit
0cbc73821c
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ class Gender < ApplicationRecord
|
||||||
99
|
99
|
||||||
when %r{^#*N/*A$}i
|
when %r{^#*N/*A$}i
|
||||||
99
|
99
|
||||||
when /Unknown|99/i
|
when /Unknown|99|Gender/i
|
||||||
99
|
99
|
||||||
else
|
else
|
||||||
puts "************************************"
|
puts "************************************"
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ class Race < ApplicationRecord
|
||||||
8
|
8
|
||||||
when %r{^#*N/*A$}i
|
when %r{^#*N/*A$}i
|
||||||
nil
|
nil
|
||||||
when /Unknown|99/i
|
when /Unknown|99|Multiracial|Race/i
|
||||||
99
|
99
|
||||||
else
|
else
|
||||||
puts "************************************"
|
puts "************************************"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue