In my update Action

if($model->save()) :
...
endif;


And I have problem with MySQL save, it is Yii error