I have the following problem. I have the following relationships: A->B->C->D With the respective relations in models. I need to get all the "D" belonging to "A"
$this->A->B->C->D->find('all', array ('conditions' =>
array('B.a_id' => $id)
));
but get the error that there b.a_id.
I tried recursive = 2;
But I keep getting the same problem.
What am I doing wrong? PD: Sorry, but my English is not good