Akelos will generate the join for you as long as you tell the finder which associations to include.
In your case:
$this->Resources = $this->Resource->find('all', array(''include'=>'contact,category,host,location', 'limit'=>20));
sorry pweil, this syntax was not valid until now
$this->Resources = $this->Resource->find('all', array('include'=>'contact,category,host,location', 'limit'=>20));
you can update your working copy to rev.578 or use the array version like
$this->Resources = $this->Resource->find('all', array('include'=>array('contact','category','host','location'), 'limit'=>20));
There is someway to do this?
$this->Resources = $this->Resource->find('all', array(''include'=>'contact',array('location'=>array('include'=>'country')), 'limit'=>20));
right now, unfortunately we dont have "eager loading of deep associations".
1 to 7 of 7