Field manager on Project should be manager_id, otherwise specify foreignKey on the relationship.
Also table names should be plural, otherwise specify $useTable to define your table name. http://manual.cakephp.org/chapter/models -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -----Mensaje original----- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de vidya Enviado el: MiƩrcoles, 14 de Febrero de 2007 03:01 a.m. Para: Cake PHP Asunto: problem with join Association is Manager has many projects and project has one Manager. But when i use $this->Project->findall(); i won't get any records. Is there any problem with models. Can any one help to solve this problem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---