mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
instead of hard coded values. Produce a clean csv and a csv with all the removed values and columns with reason for removal. Add script for running cleaning for each project
5 lines
134 B
Ruby
5 lines
134 B
Ruby
class Gender < ApplicationRecord
|
|
scope :gender_hash, lambda {
|
|
all.map { |gender| [gender.qualtrics_code, gender] }.to_h
|
|
}
|
|
end
|