Say if I have a set of objects contained in @set
. Each of these objects has a description method which will return some text that I want to display on individual pages. How do I use will_paginate
to paginate this?
The examples I've seen so far such as:
@articles = Article.paginate :page => params[:page]
look like they are referring to all Article objects.