title: Cakephp Pagination is not working?
body: <p>I am new to cakephp, My pagination is not working..</p>
  
  <p>My controller code:</p>
  
  <pre><code>$this-&gt;paginate = array('Favourite' =&gt;array('limit' =&gt; '1','conditions'=&gt;array('user_id'=&gt;$id))); 
  $cat_data = $this-&gt;paginate('Favourite');
  $this-&gt;set('fav_data',$cat_data);
  </code></pre>
  
  <p>My view code:</p>
  
  <pre><code>&lt;!---Code for pagination   --&gt;
  &lt;div&gt;
   &lt;?php echo $this-&gt;Paginator-&gt;prev('', null, null, array('class' =&gt; 'pdisable','escape' =&gt; false)); ?&gt;
  &lt;div class="numbers"&gt;&lt;?php echo $this-&gt;Paginator-&gt;numbers(); ?&gt;&amp;nbsp;&amp;nbsp;Pages: &lt;?php echo $this-&gt;Paginator-&gt;counter(); ?&gt;&lt;/div&gt;
  &lt;?php echo $this-&gt;Paginator-&gt;next('', null, null, array('class' =&gt; 'ndisable','escape' =&gt; false)); ?&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>It is not displaying one result based on the limit i have given.. It displays all the records.</p>