On Thu, Jun 5, 2008 at 9:56 AM, Jonathan Snook <[EMAIL PROTECTED]> wrote: > >> How would Cake be able to know that when you pass it a number that >> what you really mean is a string? > > Cake knows because it's DEFINEd the fields from the database. If it's > VARCHAR, CHAR, or TEXT, treat it as a string.
/me smacks himself in the forehead. I had thought that was the case, but is that *really* what is going on? It looks to me like Cake is not honouring that for whatever reason. I wonder if this is something that works properly in 1.2? -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
