mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -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
|
||||
when %r{^#*N/*A$}i
|
||||
99
|
||||
when /Unknown|99/i
|
||||
when /Unknown|99|Gender/i
|
||||
99
|
||||
else
|
||||
puts "************************************"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class Race < ApplicationRecord
|
|||
8
|
||||
when %r{^#*N/*A$}i
|
||||
nil
|
||||
when /Unknown|99/i
|
||||
when /Unknown|99|Multiracial|Race/i
|
||||
99
|
||||
else
|
||||
puts "************************************"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue