title: CakeDC Search plugin doesn't work
body: <p>i'm trying to develop a simple search form using cakedc plugin, i followed step by step the instructions , but i got the next error:</p>
  
  <pre><code>Database Error
  </code></pre>
  
  <p>Error: SQLSTATE[42000]: Syntax error or access violation: 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 'validateSearch' at line 1</p>
  
  <p>SQL Query: validateSearch </p>
  
  <p>i don't know what i got wrong, can you help me?, this is what i've got, Thank you.
  In the Controller:</p>
  
  <pre><code>class ProductosController extends AppController {
  
  public $name = 'Productos';
  public $uses = array('Empleado','Cliente', 'Mesa','Producto', 'Productotipo','Productos');  
  
  
      public $components = array('Search.Prg');
  public $presetVars = true;
  public $paginate=array();
  public function ventas(){       
      $this-&gt;Prg-&gt;commonProcess();        
      $this-&gt;paginate['conditions'] = $this-&gt;Producto-&gt;parseCriteria($this-&gt;Prg-&gt;parsedParams());
      $this-&gt;set('productos', $this-&gt;paginate());
  }
  </code></pre>
  
  <p>In the Model:</p>
  
  <pre><code>class Producto extends AppModel {
  public $name = 'Producto';      
  public $displayField = 'productotipos_id';  
      public $belongsTo = array('Productotipo'=&gt;array('className'=&gt;'Productotipo','foreignKey'=&gt;'productotipos_id','conditions'=&gt;'','order'=&gt;''));    
  public $actsAs = array('Search.Searchable');    
  public $filterArgs = array(
      'nombre' =&gt; array('type' =&gt; 'like')     
  );
  </code></pre>
  
  <p>In the view</p>
  
  <pre><code>&lt;?php echo $this-&gt;Form-&gt;create('Producto', array('url' =&gt; array_merge(array('action'=&gt;'ventas'), $this-&gt;params['pass'])));?&gt;
  &lt;fieldset&gt;
      &lt;legend&gt;Pedido&lt;/legend&gt;
  &lt;?php   
  
      echo $this-&gt;Form-&gt;input('Producto.nombre', 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;
  &lt;/fieldset&gt;
  </code></pre>