Rails Random Active Record with Pagination

Posted by Kevin Sylvestre on Stack Overflow See other posts from Stack Overflow or by Kevin Sylvestre
Published on 2010-06-03T19:35:04Z Indexed on 2010/06/03 19:44 UTC
Read the original article Hit count: 142

Filed under:

I need to find all records for a particular resource and display them in a random order, but with consistent pagination (you won't see the same record twice). I am using will_paginate. Any advice?

© Stack Overflow or respective owner

Related posts about ruby-on-rails