What does your table schema look like? And, what other values are you trying to save? If you place Debugger::log($this->data) just before your save call, do you see the expected value in your debug.log?
On Sun, Mar 29, 2009 at 12:07 PM, joshua <[email protected]> wrote: > When I try to save a model with a field named 'priority', the value in this > column is always 1. I am not sure it is the fault of cake or not. Any body > knows? > > On Mon, Mar 30, 2009 at 12:04 AM, joshua <[email protected]> wrote: >> >> It seems we couldn't use the 'object' as a method for our controller. >> Got the warning: >> there is no method 'object' in controller XXX . >> Changed to 'object2', it works fine. >> Is there a keyword list that we couldn't use in our controller? >> -- >> Thanks >> Joshua > > > > -- > Thanks > Joshua > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
