Added rake task to notify workgroup members if not enough users assigned an upcoming task.

This commit is contained in:
Benjamin Meichsner 2009-08-11 18:10:14 +02:00
parent d8cdbe4abb
commit 49be55238b
4 changed files with 35 additions and 3 deletions

View file

@ -54,8 +54,8 @@ class Workgroup < Group
# now generate the Array
nextTasks = Array.new
number.times do
nextTasks << nextTask
nextTask = 1.week.from_now(nextTask).to_date
nextTasks << nextTask.to_date
nextTask = 1.week.from_now(nextTask)
end
return nextTasks
end
@ -69,5 +69,5 @@ class Workgroup < Group
:weekly => true
}
end
end