title: Cakephp bindModel not working
body: <p>I am trying to bind Company hasMany CompanyReview. Below are the code in the controller:</p>
  
  <pre><code>public function review() {
      $this-&gt;uses = array('Search', 'Company', 'CompanyReview');
      $this-&gt;Company-&gt;bindModel(array(
          'hasMany' =&gt; array(
              'CompanyReview' =&gt; array(
              'className' =&gt; 'CompanyReview',
              'foreignKey' =&gt; 'company_id'
              )
          )
      ));
      $this-&gt;CompanyReview-&gt;bindModel(
          array(
             'belongsTo'=&gt;array(
                  'Company'=&gt;array(
                      'className'=&gt;'Company',
                      'foreignKey'=&gt;'company_id'
                   )
              )
          )
      );
  
      if (!empty($this-&gt;data)) {
          switch ($this-&gt;data['Search']['search_type']) {
              case 'all':
                  $this-&gt;request-&gt;data['ReviewResults'] = $this-&gt;allReviews($this-&gt;data['Search']['search_query']);
                  break;
              case 'company':
                  $this-&gt;request-&gt;data = $this-&gt;Company-&gt;find('all', array(
                     'conditions' =&gt; array(
                        'OR' =&gt; array(
                            'MATCH(Company.name) against ("' . $this-&gt;data['Search']['search_query'] . '" in boolean mode)',
                            'MATCH(CompanyReview.job_title) against ("' . $this-&gt;data['Search']['search_query'] . '" in boolean mode)'
                             )
  
                          )
                      ));
                  break;
              case 'interview':
                  $this-&gt;request-&gt;data['ReviewResults'] = $this-&gt;interviewReviews($this-&gt;data['Search']['search_query']);
                  break;
              case 'salary':
                  $this-&gt;request-&gt;data['ReviewResults'] = $this-&gt;salaryReviews($this-&gt;data['Search']['search_query']);
                  break;
              }
          }
      }
  </code></pre>
  
  <p>but the error I keep getting is:Database Error</p>
  
  <pre><code>Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'CompanyReview.job_title' in 'where clause'
  </code></pre>
  
  <p><strong>SQL Query</strong>: <br/><br/><code>SELECT Company.id, Company.name, Company.industry_id, Company.website, Company.created FROM terbang2.companies AS Company WHERE ((MATCH(Company.name) against ("air" in boolean mode)) OR (MATCH(CompanyReview.job_title) against ("air" in boolean mode)))</code></p>
  
  <p>Notice: If you want to customize this error message, create <strong>app/View/Errors/pdo_error.ctp</strong></p>
  
  <p>if you noticed, the sql did not include company_reviews table. How is it so? Please help!. Thanks</p>
  
  <p>Oh and btw,there is a table row called job_title in the company_reviews table.</p>