/**
  * Creates a new model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  */
 public function actionCreate($rate_company_id)
 {
     $model = new RateCompanyService();
     $model->rate_company_id = $rate_company_id;
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);
     if (isset($_POST['RateCompanyService'])) {
         $model->attributes = $_POST['RateCompanyService'];
         if ($model->save()) {
             $this->redirect(array('index', 'rate_company_id' => $model->rate_company_id));
         }
     }
     $this->render('create', array('model' => $model));
 }