title: Cakephp 2.8 Why does my search_between function give me a warning?
body: <pre><code>public function search_between() {
  
  $min = $this-&gt;request-&gt;query['min'];
  $max = $this-&gt;request-&gt;query['max']; 
  
  $conditions = array('Ad.price BETWEEN ? AND ?' =&gt; array($min,$max));
  $ads = $this-&gt;Anuncio-&gt;find('all',array('conditions' =&gt; $conditions));
  $this-&gt;set('ads',$ads);
  
  } 
  </code></pre>
  
  <p><strong>Warning: strlen() expects parameter 1 to be string, array given.</strong></p>
  
  <pre><code>**Thank's for your help I'm new to asking questions here.**
  </code></pre>