Wednesday, December 3, 2008

Re: bake script doesn't save my relations

Not sure I understand your question - when you bake, the relationships
should show up in the baked models. As long as you have the hasMany,
belongsTo and/or HABTM relationships, your view should reflect this.

On Oct 16, 5:42 pm, djXternal <trobr...@gmail.com> wrote:
> Hey guys, I am just getting started using the bake script on windows,
> everything seems to be going great except after baking when I view my
> project.  None of my tables display any relations that they should
> have.
>
> I bake in this order: Models of all tables, Controllers of all Models,
> Views of all controllers
>
> When creating views I tell it to not use scaffolding, but to create
> basic actions (index, edit, add, delete)
>
> I added all the relations when I was baking the models, why would they
> not show up after baking
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: