title: In cakephp, how can I set conditions for a model that is not associated with the one I am paginating but which is associated to one that is?
body: <p>I am paginating ($this->Customer->paginate()) on the 'Customer' model.</p>
  
  <p>The customer model is associated to the 'Contact' model which in turn is associated to the 'ContactAddress' model.</p>
  
  <p>So:</p>
  
  <p>Customer hasMany Contact</p>
  
  <p>Contact belongsTo ContactAddress</p>
  
  <p>Now I want to paginate customers in the 'Customers->index()' using a search query let's say 'ContactAddress.city' LIKE '%New%'</p>
  
  <p>How do I do this? When I do it in the conditions for paginate it says: "Unknown column 'ContactAddress.city' in 'where clause'" logically.</p>