# Pagination is not working after refresh the page

**URL:** <https://www.ruby-forum.com/t/pagination-is-not-working-after-refresh-the-page/138357>\
**Category:** Rails\
**Created:** [May 22, 2008, 8:59am UTC](https://www.ruby-forum.com/t/pagination-is-not-working-after-refresh-the-page/138357 "2008-05-22T08:59:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vamsii](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e19adc/32.png) [@vamsii](https://www.ruby-forum.com/u/vamsii)\
**Post date:** [May 22, 2008, 8:59am UTC](https://www.ruby-forum.com/t/pagination-is-not-working-after-refresh-the-page/138357/1 "2008-05-22T08:59:44Z")

</div>

Hii Everybody,

I have a problem with pagination.  
I have a list of things in my list,like 5,10,20,30 …pages.  
If i select the number of items to be displayed,it’s showing like 5 or  
10…  
But after refreshing the page when i was in 10 or 20 pages like that ,it  
is showing only 5 items per page.

Please post the exact code…

Thanks & Regards  
vamsi
