Are you sure that cake is finding your model? pr($this->Category);
inside your controller. If you see an AppModel instance rather than a
Category instance then you know cake is unable to find the model.

Also, make sure that the form input is correctly sending the fields
you are expecting. If you are missing 'category' inside of $this->data
['Category'] then the validation will not be checked.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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