title: How to connect 3 tables in cakephp? (relations)
body: <p>I have 3 tables:</p>
  
  <pre><code>user:
  id;name
  
  usercompany:
  id;user_id, company_id
  
  company:
  id;company_name
  </code></pre>
  
  <p>How can I connect all 3 tables in cake?
  I want to be able to see which companies are connected to the user.
  The user can belong to more than one company.</p>
  
  <p>In the user controller I just simply want to use $this->User->find("all") and it should show me all the users with the connected companies (including the company name).</p>
  
  <p>How can I do this in cake? what should I use, hasAndBelongsToMany? Thanks for the insights.</p>