title: Problem with the CakePHP Search Plugin
body: <p>I've trying to use the <a href="http://cakedc.com/eng/downloads/view/cakephp_search_plugin" rel="nofollow">CakePHP Search Plugin</a> along with the <a href="http://book.cakephp.org/view/1528/Blog" rel="nofollow">Blog tutorial</a> available in the Cookbook and even though I followed the instruction to the letter I Keep getting this error message :<strong>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 'parseCriteria' at line 1</strong> .</p>
  
  <p>This is what I've done:</p>
  
  <p><strong>Model:</strong></p>
  
  <pre><code>class Post extends AppModel {
      var $name = 'Post';
      var $displayField = 'title';
  
      public $filterArgs = array(
              array('name' =&gt; 'title','type' =&gt; 'string'),
      );
  }
  </code></pre>
  
  <p><strong>Controller:</strong></p>
  
  <pre><code>class PostsController extends AppController {
  
     var $name = 'Posts';
     public $components = array('Search.Prg');
  
     public $presetVars = array(
      array('field' =&gt; 'title', 'type' =&gt; 'value'),
     );
  
     function beforeFilter() {
         parent::beforeFilter();      
     }
  
     public function index() {
      $this-&gt;Prg-&gt;commonProcess();
      $this-&gt;paginate = array(
        'conditions' =&gt; $this-&gt;Post-&gt;parseCriteria($this-&gt;passedArgs));
      $this-&gt;paginate = array('limit' =&gt; 15);
      $this-&gt;set('posts', $this-&gt;paginate());
     }
  
  }
  </code></pre>
  
  <p><strong>View:</strong></p>
  
  <pre><code>&lt;?php
     echo $this-&gt;Form-&gt;create('Post', array(
         'url' =&gt; array_merge(array('action' =&gt; 'index'), $this-&gt;params['pass'])
              ));
     echo $this-&gt;Form-&gt;input('title', array('div' =&gt; false, 'empty' =&gt; true));        
     echo $this-&gt;Form-&gt;submit(__('Search', true), array('div' =&gt; false));
     echo $this-&gt;Form-&gt;end();
  ?&gt;
  </code></pre>
  
  <p>Do you have any idea why this is happening? Am I missing something?</p>