rull rake task

This commit is contained in:
Jared Cosulich 2017-03-08 13:07:54 -05:00
parent bec3f52adf
commit b0e65da944
4 changed files with 10 additions and 9 deletions

View file

@ -1,10 +1,10 @@
namespace :survey do
desc 'Text all Recipients ready for an Attempt'
task :make_attempts => :environment do
task :attempt_qustions => :environment do
Schedule.active.each do |schedule|
schedule.recipient_schedules.ready.each do |recipient_schedule|
# recipient_schedule.
recipient_schedule.attempt_question
end
end
end