Class ControlPanel
In: app/models/control_panel.rb
Parent: ActiveRecord::Base
File:control_panel.rb
(C):Hipposoft 2008, 2009
Purpose:Manage settings for individual User models. See below for more details.

          24-Dec-2007 (ADH): Created.

Methods

Public Instance methods

Remove inactive tasks from the control panel. The caller is responsible for saving the updated object.

[Source]

    # File app/models/control_panel.rb, line 38
38:   def remove_inactive_tasks
39:     # See the User model's remove_inactive_tasks method for details.
40: 
41:     self.tasks = Task.active & self.tasks
42:   end

[Validate]