# File app/models/task.rb, line 130
  def reopen
    if period.passed?
      flash[:notice] = "You cannot reopen a task in a period that is passed."
    else
      open
      save!
      children.each {|child_task| child_task.reopen}
    end
  end