# will\_paginate skipping a few

**URL:** <https://discuss.rubyonrails.org/t/will-paginate-skipping-a-few/23160>\
**Category:** rubyonrails-talk\
**Created:** [January 14, 2008, 7:06am UTC](https://discuss.rubyonrails.org/t/will-paginate-skipping-a-few/23160 "2008-01-14T07:06:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melvin\_Ram](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@Melvin\_Ram](https://discuss.rubyonrails.org/u/Melvin_Ram)\
**Post date:** [January 14, 2008, 7:06am UTC](https://discuss.rubyonrails.org/t/will-paginate-skipping-a-few/23160/1 "2008-01-14T07:06:09Z")

</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:** ![Melvin\_Ram](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@Melvin\_Ram](https://discuss.rubyonrails.org/u/Melvin_Ram)\
**Post date:** [January 14, 2008, 7:05pm UTC](https://discuss.rubyonrails.org/t/will-paginate-skipping-a-few/23160/2 "2008-01-14T19:05:18Z")

</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.
