Re: new to cake, and mvc in general

2006-10-24 Thread Walker Hamilton
[EMAIL PROTECTED] wrote: > > Yeah, set DEBUG to 0 in /app/config/core.php (production mode). > > > > -- John > > > So turning off debug also stops these calls to the database? Or does it > just not log that it's doing them anymore? DESC is what cake is running to figure out your DB. Once you go

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 12:04 PM, [EMAIL PROTECTED] wrote: > > > John David Anderson (_psychic_) wrote: >> >>> I did try some of the snippets out there for overriding >>> invalidate in >>> app_model.php. I mainly just encountered preg-match errors all over >>> the >>> place and they didn't work. >

Re: new to cake, and mvc in general

2006-10-23 Thread [EMAIL PROTECTED]
John David Anderson (_psychic_) wrote: > > > I did try some of the snippets out there for overriding invalidate in > > app_model.php. I mainly just encountered preg-match errors all over > > the > > place and they didn't work. > > You shouldn't need to override it.. just perform your non-regex >

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 10:28 AM, [EMAIL PROTECTED] wrote: > Data Validation - It's way too simple for what I want. I'm looking for > ways to say, validate a date field is a real date, and then also > validate that it's in an acceptable range (ie: over 14 years old). I'd > also like to be able to se

RE: new to cake, and mvc in general

2006-10-23 Thread Grant Davies
I would be very interested in responses to this, especially the validation areas so please keep the discussion on-list if possible. Thanks Grant -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, October 23, 2006 12:2