Thursday, November 6, 2008

Re: Difference between read and find

I had a problem recently where my validation errors weren't showing up
in a form. Turns out I was using to read() to get some related data to
display, and that wiped out the validation results from the form
submission. Changing it to find() left the validation results in place.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: