Neat Functions in CakePHP
If ever you want to remove a validation temporarily for certain fields
you can use unset before saving the data
unset($model->validates['fieldname']);
I also learned also another function to know what field validation I
violated especially when your updating your records because sometimes
it does not show the validation errors I use debug to display it
if(!$this->save())
{
debug($this->validationErrors);
die();
}
Advertisement