Pagination

Hi, how can I properly add pagination to the following method?

def list
@titles = current_user.titles.find(:all, order => “created_date DESC”)
end

Jim P. wrote:

On Mon, 7 Jan 2008 13:37:32 +0100
Katsuo I. [email protected] wrote:

Hi, how can I properly add pagination to the following method?

def list
@titles = current_user.titles.find(:all, order => “created_date DESC”)
end

I personally use

Welcome cardboardrocket.com - BlueHost.com

Very simple plugin, does the job nicely.

Thanks Jim, it worked very nicely!

On Mon, 7 Jan 2008 13:37:32 +0100
Katsuo I. [email protected] wrote:

Hi, how can I properly add pagination to the following method?

def list
@titles = current_user.titles.find(:all, order => “created_date DESC”)
end

I personally use

Very simple plugin, does the job nicely.