Pagination, how to in rails?

Hi,

Im creating a few reports for a system using ind_by_sql

Are there any built in features that I can use to paginate the results
and how can this be achived?

Thanks

Think this wpuld help:
http://api.rubyonrails.org/classes/ActionController/Pagination.html

Indeed there is, in a few options from automagic to
manual. If you’re using find_by_sql, you’ll probably
need to instantiate a Paginator object by hand. Check
out “Custom/“classic” pagination”:

http://api.rubyonrails.org/classes/ActionController/Pagination.html

hth,
phil