mashbash/whats_the_plan — pull request #4 by moserrya (2013-03-25 06:25:00+00:00)
Title: change plan worker to ensure all activities are saved first

Added one line to PlanWorker:

plan.activities.each { |activity| activity.save }

This ensures all activities save, and therefore the data is there, before ActivityCluster springs into action.