Hi Brendon, > Why does `cake bake` have that reversed? > > $this->Model->create(); //empty > $this->Model->save($this->data); //filled with sent data
Not sure! > Also, is Daniel trying to update the found model (if found), or create > a new model? I don't understand the reason for calling $this->Model- >>findById($id); in this instance. I have a feeling that Jon was > assuming an additional record created from already existing data > within a different record (i.e.: copy), but is that correct? Indeed, that is [making a duplicate] exactly what I thought was happening, perhaps a misleading example was used in the first instance? j -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
