Is it possible to use the Aro model in a join with a regular model based on AppModel, such as Users.
What I'm trying to achieve is class Users extend AppModel { var $hasMany = array('Aro'=>array('className'=>'Aro','foreignKey'=>'foreign_key')); } This seems to work. However... If I try $this->User->findAll(array('Aro.lft' => '> x', 'Aro.rght' => '< y')) where x and y are known values, then it doesn't work, and just returns false. I've checked the data, which is fine, however, there just doesn't seem to be a query generated for this findall. I'm not quite sure where it's falling apart, but i'm guessing it's in the sql builder somewhere due to the unusual join. Am I missing something here? Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---