mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 01:10:39 -07:00
adding students to seeds
This commit is contained in:
parent
36d061fca2
commit
4ed8aa00bb
3 changed files with 31 additions and 8 deletions
|
|
@ -102,7 +102,8 @@ namespace :data do
|
|||
option2: question['answers'][1],
|
||||
option3: question['answers'][2],
|
||||
option4: question['answers'][3],
|
||||
option5: question['answers'][4]
|
||||
option5: question['answers'][4],
|
||||
for_recipient_students: question['child'].present?
|
||||
)
|
||||
else
|
||||
variations.each do |variation|
|
||||
|
|
@ -112,7 +113,8 @@ namespace :data do
|
|||
option2: question['answers'][1],
|
||||
option3: question['answers'][2],
|
||||
option4: question['answers'][3],
|
||||
option5: question['answers'][4]
|
||||
option5: question['answers'][4],
|
||||
for_recipient_students: question['child'].present?
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue