title: Ruby on Rails: will_paginate is not working correctly
body: <p>If I click the next or previous link it doesn't go to the next or previous page.</p>
  
  <p>All posts are on same page, but there are links next, previous at bottom.</p>
  
  <p>In PostsController:</p>
  
  <pre><code>@posts = Post.paginate(:per_page =&gt; 15, :page =&gt; params[:page], :order =&gt; 'created_at DESC')
  </code></pre>
  
  <p>in posts/index:</p>
  
  <pre><code>&lt;%= will_paginate @posts%&gt;
  </code></pre>
  
  <p>Where is the problem with will_paginate?</p>