search for: sideblog

Displaying 1 result from an estimated 1 matches for "sideblog".

Did you mean: wideblog
2008 Nov 27
7
will_paginate issue
Hi, I am trying paginate (will_paginate) users posts. It is counting and showing the page links correctly, but still showing all the posts on one page. @entries = @user.entries.paginate :per_page => 5, :page => params[:page], :order => ''created_at DESC'' If I change it to @entries = Entry.paginate :per_page => 5 ........ It is fine, but I would like to show only