/**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
 public function executeSend(sfWebRequest $request)
 {
     $form = new BugForm(null, array(), false);
     $form->bind($request['bug']);
     if (!$form->hasErrors()) {
         $form->save();
     }
     return sfView::NONE;
 }
 public function executeSend(sfWebRequest $request)
 {
     $form = new BugForm();
     $form->bind($request['bug']);
     var_dump($form->getErrors());
     if (!$form->hasErrors()) {
         $form->save();
     }
     die;
 }