On 21 dic, 22:05, "Dave" <[email protected]> wrote: > Thanks John, > > That’s correct what I am trying to do as you stated. > > HABTM Structure > Profile > id > > Skill > id > name > > profile_skill > profile_id > skill_id > year <- this is my new aded field >
IMO your whole problem stems from trying to refer to a model as a join table. When a join table has more than 2 fields - make it a model. If you give profile_skill a primary key, create a model for it, define Profile hasMany ProfileSkill etc. you've find your difficulties pretty much dissolve. hth, AD Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
