title: cake 2.5.1 bind 2 models together
body: <p>I have a model Ranking which holds a contact_id and belongsTo Model Contact.
  Model Contact has a costumer_id and belongsTo Model Costumer.
  And hasMany Rankings.</p>
  
  <p>There is also a Model Product which hasMany Ranking.</p>
  
  <p>On a statistics page I select </p>
  
  <pre><code>$this-&gt;Product-&gt;recursive = 1;
  $this-&gt;set('products', $this-&gt;Paginator-&gt;paginate())
  </code></pre>
  
  <p>;</p>
  
  <p>and I get the array of</p>
  
  <pre><code>array(
      'Product' =&gt; array(
          'id' =&gt; '69',
      ),
      'Ranking' =&gt; array(
          (int) 0 =&gt; array(
              'id' =&gt; '29',
              'contact_id' =&gt; '9',
              'product_id' =&gt; '69',
              'ranking' =&gt; '9',
          ),
  </code></pre>
  
  <p>I would like to bind now the Contact and Costumer to the ranking based on the contact_id.
  Is this manually possible via bindModel?
  If yes, how can I do that?</p>
  
  <p>I tried to set $this->Product->recursive = 1; to 2 and 3, but that select so many other things which I would need to clear with unbindModel... So I hope there is a smarter way of bind those model to get to the data...?</p>