# Good pagination option?

**URL:** <https://www.ruby-forum.com/t/good-pagination-option/169831>\
**Category:** Rails\
**Created:** [June 9, 2009, 12:20pm UTC](https://www.ruby-forum.com/t/good-pagination-option/169831 "2009-06-09T12:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [June 9, 2009, 12:20pm UTC](https://www.ruby-forum.com/t/good-pagination-option/169831/1 "2009-06-09T12:20:54Z")

</div>

Hi,  
I want to do pagination in Rails 2.2.  
I have a confusion which pagination should I use?  
“Will\_paginate or Paginator.new”

Also I want to retrieve only those number of records which I have  
specified in records per page.

Can anyone please help me out for this?

Thanks,  
Tushar

---

<div class="post-metadata">

**Author:** ![gandhi-tush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Post date:** [June 9, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/good-pagination-option/169831/2 "2009-06-09T12:47:47Z")

</div>

On Jun 9, 11:20 am, Tushar G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi,  
> I want to do pagination in Rails 2.2.  
> I have a confusion which pagination should I use?  
> “Will\_paginate or Paginator.new”

will\_paginate is pretty much the defacto thing for pagination

Fred
