title: CakePHP Containable Behavior Not Working As Expected
body: <p>I have the following database tables:</p>
  
  <pre><code>products
  ********
  id
  title
  artist_id
  
  artists
  *******
  id
  profile
  rating
  person_id
  
  people
  ******
  id
  full_name
  </code></pre>
  
  <p>With the following model associations:</p>
  
  <pre><code>Product Model
  *************
  public $belongsTo = array(
      'Artist' =&gt; array(
          'className'  =&gt; 'Artist'
          'foreignKey' =&gt; 'artist_id'
      )
  );
  
  Artist Model
  ************
  public $belongsTo = array(
      'Person' =&gt; array(
          'className'  =&gt; 'Person'
          'foreignKey' =&gt; 'person_id'
      )
  );
  public $hasMany = array(
      'Product' =&gt; array(
          'className'  =&gt; 'Product'
          'foreignKey' =&gt; 'product_id'
      )
  );
  
  Person Model
  ************
  public $hasOne = array(
      'Artist' =&gt; array(
          'className'  =&gt; 'Artist'
          'foreignKey' =&gt; 'person_id'
      )
  );
  </code></pre>
  
  <p>I have set each of the three models to use the Containable behaviour using:</p>
  
  <pre><code>public $actsAs = array('Containable');
  </code></pre>
  
  <p>When I use the following to get the product details along with the artist's name:</p>
  
  <pre><code>$this-&gt;Product-&gt;find('first', array('conditions' =&gt; array('Product.id' =&gt; $id), 'contain' =&gt; 'Person.full_name'))
  </code></pre>
  
  <p>I get the warning:</p>
  
  <pre><code>Model "Product" is not associated with model "Person"
  </code></pre>
  
  <p>And I only get the product details ie no artist's name. Why is this happening?</p>