Following the logic pointed out by AD7six in the reply below my message, I end up with missing table.
I created my models as: Profile Skill ProfileSkill Database has: profiles skills profile_skills Database table profile_skill for model ProfileSkill was not found. Where did I go wrong here? Thanks guys Dave -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of AD7six Sent: December-22-09 5:42 AM To: CakePHP Subject: Re: 3 Days and not 1 person has any idea? 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 cake-php+at http://groups.google.com/group/cake-php?hl=en No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.717 / Virus Database: 270.14.114/2575 - Release Date: 12/21/09 15:43:00 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
