Because most probably the model doesn't validate. Can you show us the model?
When you get the ID you are not using the model. Also, do this instead of directly saving so you can check what Cake reports: function edit($name) { $this->Config->id = $this->Config->getIdByName($name); if (!empty($this->data)) { $this->data['Config'][$name] = $this->params['data']['Config'][$name]; if ($this->Config->save($this->params['data']['Config'], true, 'name')) { echo 'SAVED'; } } else { echo 'NO DATA'; } exit; } -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -----Mensaje original----- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de [EMAIL PROTECTED] Enviado el: Lunes, 04 de Diciembre de 2006 02:46 a.m. Para: Cake PHP Asunto: going crazy about update method. I always get these sql queries: 1 DESC `codehelper2_configs` 2 SELECT `Config`.`id`, `Config`.`name`, `Config`.`value` FROM `codehelper2_configs` AS `Config` WHERE (`name` = 'cache') LIMIT 1 1 1 0 3 SELECT COUNT(*) AS count FROM `codehelper2_configs` WHERE (`id` = 0000000001) there is apparently no UPDATE, why? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---