sqm-dashboards/lib/tasks/survey.rake
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

10 lines
302 B
Ruby

namespace :survey do
desc 'Text all recipients ready for an attempt'
task attempt_questions: :environment do
Legacy::Schedule.active.each do |schedule|
schedule.recipient_schedules.ready.each do |recipient_schedule|
recipient_schedule.attempt_question
end
end
end
end