Hi!

I've validation rules in my model:

        var $validate = array(
                'p4ssword' => array(
                        'length' => array('rule'=>array('minLength',8)),
                        'forbidden'=>array('rule'=>'notForbiddenPwd'),
                        'similar'=>array('rule'=>'notSimilarPwd'),
                ),
                'confirm_p4ssword'=>array(
                        'match' => array('rule'=>'confirm_password')
                ),
        );

and
                                if($this->User->save($this->data, true, 
array('p4ssword'))) {
in my controller.

Shouldn't this line fires validations? Putting log messages to the
validation methods, I cannot see the those messages in the log, so
something is wrong :(

Can anybody help figure out what's going on?

Using cake_1.2.0.5427alpha

thanks
Gergo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to