IMO, there's no way to automatically determine relationships. You can guess, but how do you tell a hasOne from a hasMany? I don't think it's worth it. I'm as lazy as the next guy (even lazier) but I think you should at least take time to step through the wizard for your models.
After the models are set up, the other "bake all" functions come in more handy. I haven't checked but, I would hope there's an overwrite all in there. That's one thing I don't really like. Maybe prompt me once or use a parameter, but I hate having to punch yes to replace files. -- Baz L Web Development 2.0 http://WebDevelopment2.com/ On Nov 28, 2007 8:47 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Nov 28, 2007 9:04 AM, kiang <[EMAIL PROTECTED]> wrote: > > > > > > Known problems and limitations: > > 1. I haven't had time to figure out how to deal with table > > relationships automatically. > > Implementing that will be the deal-maker or deal-breaker. Personally, > I see no point in having a 'bake all' that doesn't know enough to > automatically create the relationships. > > Not such an easy task. > > -- > Chris Hartjes > > My motto for 2007: "Just build it, damnit!" > > @TheKeyboard - http://www.littlehart.net/atthekeyboard > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
