# Will\_paginate skipping a few

**URL:** <https://www.ruby-forum.com/t/will-paginate-skipping-a-few/125959>\
**Category:** Rails\
**Created:** [January 14, 2008, 8:07am UTC](https://www.ruby-forum.com/t/will-paginate-skipping-a-few/125959 "2008-01-14T08:07:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melvinram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Post date:** [January 14, 2008, 8:07am UTC](https://www.ruby-forum.com/t/will-paginate-skipping-a-few/125959/1 "2008-01-14T08:07:10Z")

</div>

[http://www.savitrifashions.com/store/category/6?page=2](http://www.savitrifashions.com/store/category/6?page=2)

At the above page, I have a will\_paginate set up that will have 15  
items per page as specified… but on some pages, it has less items  
(such as page 2 and page 3).

Anyone know why will\_paginate might be skipping rows… or paginating  
w/ less rows?

---

<div class="post-metadata">

**Author:** ![melvinram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Post date:** [January 14, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/will-paginate-skipping-a-few/125959/2 "2008-01-14T20:05:56Z")

</div>

I figured out why. It has nothing to do w/ will\_paginate. I made the  
partial skip itself if the product didn’t have an image… but since  
it only gets a limited amount of rows, it appears to have gaps. It’s  
not that big a deal so i’m not going to fix it yet.
