Fix create_upcoming_periodic_tasks after 9ae7c05

This commit is contained in:
Patrick Gansterer 2017-02-14 11:52:05 +01:00 committed by wvengen
parent 46275fa564
commit 57bfd542b4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace :foodsoft do
desc "Create upcoming periodic tasks"
task :create_upcoming_periodic_tasks => :environment do
for tg in PeriodicTaskGroup.all
created_until tg.create_tasks_for_upfront_days
created_until = tg.create_tasks_for_upfront_days
rake_say "created until #{created_until}"
end
end