# What page is an item on?

**URL:** <https://www.ruby-forum.com/t/what-page-is-an-item-on/53513>\
**Category:** Rails\
**Created:** [February 8, 2006, 2:35am UTC](https://www.ruby-forum.com/t/what-page-is-an-item-on/53513 "2006-02-08T02:35:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Post date:** [February 8, 2006, 2:35am UTC](https://www.ruby-forum.com/t/what-page-is-an-item-on/53513/1 "2006-02-08T02:35:48Z")

</div>

Using the paginator helper, is there a way to determine what page an  
item in the collection is on?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![jtoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Post date:** [February 8, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/what-page-is-an-item-on/53513/2 "2006-02-08T20:18:00Z")

</div>

On 07/02/06, Jason T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Using the paginator helper, is there a way to determine what page an  
> item in the collection is on?  
> params[‘page’]

–  
Cheers,  
Hasan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![jtoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@jtoy](https://www.ruby-forum.com/u/jtoy)\
**Post date:** [February 8, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/what-page-is-an-item-on/53513/3 "2006-02-08T21:02:46Z")

</div>

On 2/8/06, Hasan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 07/02/06, Jason T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Using the paginator helper, is there a way to determine what page an  
> > item in the collection is on?  
> > params[‘page’]

I don’t think he was asking about what page is currently active.  
Rather, for a particular item in my paginated list, what page would it  
appear on assuming that the data remains constant between now and  
then?
