Hello, I have an entity called "Event" and an entity called "Gathering". A "Gathering" is comprised of one or more "Event". I have a table called "events" and a table called "gatherings". I also have a table called "events_gatherings" that contains 2 fields "event_id" and "gathering_id".
The "Gathering" model contains the line: "var $hasAndBelongsToMany = 'Event';". When this relationship is defined and scaffold is turned on, my add Gathering page presents me with a select list of events to choose from (this is what I expect). However when I run bake and define the same type of relationship between "Event" and "Gathering" the resulting add page for Gathering does not present a select list of events to choose from. Why is this? Am I doing something wrong, or was I meant to do this part for myself? I figured if I get the select list with scaffolding, I would get it with the code generation from bake. Thanks... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
