On Jun 2, 7:45 pm, brian <[email protected]> wrote:
> Model::create() doesn't actually create a new DB record, it just sets
> up the model instance. You have to use save() for that.
>
> What i've done in the past when moving an existing project to Cake is
> to create a (non-cake) script that simply moves the data from one
> database to the other, the latter DB being designed according to Cake
> conventions.


 Ha!  Well, that had been my original plan, and then I thought "oh,
this is probably really easy the Cake way, and a good learning
experience".  Well, maybe I'll go running back.  Thanks, Brian, and if
anybody has any other thoughts, I'd be pleased to hear them!

Ian

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to