On Dec 28, 2007 4:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Yeah true, I guess that's what I'll have to do. If I write my own
> queries though, none of the data validation that I have defined in the
> model is applied correct?
>

Hrm....you *can* run validation on data without saving it, so your
algorithm might be

1) Run $this->Model->validates($data)
2) If valid, then run custom method that does the update

Hope that helps.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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