How to save model with Model->save() when Primary key is not auto_increment? Model->create() and $this->Model->id=null wont work here.
Example: Table Statuses PK code text description Statuses : primaryKey = 'code': Model->save() always do UPDATE ?! Becouse there is in Add view input Model/code. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
