sqm-dashboards/app/views/legacy/recipients/index.json.jbuilder
Nelson Jovel ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00

5 lines
250 B
Ruby

json.array!(@recipients) do |recipient|
json.extract! recipient, :id, :name, :phone, :birth_date, :gender, :race, :ethnicity, :home_language_id, :income,
:opted_out, :school_id
json.url recipient_url(recipient, format: :json)
end