This would be better placed in the due_date_controller (which does not exist yet).  Such a controller should exist, but is not a very high priority.