Topic: will_paginate duplicates unique entries

I don't understand why will_paginate duplicates record entries that are unique.

Here is my controller:

@reviews = @user.reviews.paginate(:page => params[:page], :per_page => 5)

@user.reviews doesn't have any duplicates. @user.reviews.paginate does, even when I type the query in the terminal. (so it's not a problem with the views, it's something else to do with the back end. But what??)

Ask for more info so we can work on this problem together.

Re: will_paginate duplicates unique entries

First question: do you see duplicates on one page, or just when you move from page to page?

Second question: please post your User and Review models.