RE: Tutorial o HowTo about Table association (hasMany, hasBelongsTo, hasOne, hasAndBelongsToMany)

2007-09-09 Thread Gould, Adrian
om: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Sent: Sunday, 9 September 2007 4:19 AM To: Cake PHP Subject: Re: Tutorial o HowTo about Table association (hasMany, hasBelongsTo, hasOne, hasAndBelongsToMany) There's not too much I've found, I pieced together what I know form

Re: Tutorial o HowTo about Table association (hasMany, hasBelongsTo, hasOne, hasAndBelongsToMany)

2007-09-08 Thread Zoltan
There's not too much I've found, I pieced together what I know form the Model chapter and then baking the models and following the suggested relationships. Essentially, you create a table (say Posts, another Tags and a 3rd table, posts_tags (with fields for post_id and tag_id) and then you want t