title: Thin controller queries fat model instead of calling a method
body: <p>I have a thin controller I am using that calls methods from a Fat model. When I call a method that resides in my fat model I get the warnings/errors below. It appears that my controller is attempting to query against the method. Any help with this is greatly appreciated.</p>
  
  <pre><code>Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'testMe' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
  </code></pre>
  
  <p>This is the error I see in the query log:</p>
  
  <pre><code>testMe  1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'testMe' at line 1
  </code></pre>
  
  <p>I have dumbed down my model in order to diagnose this issue.</p>
  
  <p>This is the current state of my model (user_entity_license.php):</p>
  
  <pre><code>class UserEntityLicense extends UserAgentAppModel {
  var $name = 'UserEntityLicense';
  var $primaryKey = 'license_id';
  var $actsAs = array('Containable');
  
  var $belongsTo = array('UserEntity' =&gt; array('className' =&gt; 'UserEntity','foreignKey' =&gt; 'entity_id'));
  
  public function testMe()
  {
      return 'This is a test';
  }
  }
  </code></pre>
  
  <p>This is the current state of my controller (user_entity_licenses_controller.php):</p>
  
  <pre><code>&lt;?php
  class UserEntityLicensesController extends UserAgentAppController {
  
  var $name = "UserEntityLicenses";
  var $uses = array('UserEntityLicense','UserEntity');
  
  function expiringLicenses()
  {
      debug($this-&gt;UserEntityLicense-&gt;testMe());
  }
  }
  </code></pre>