# Paginating\_find view example?

**URL:** <https://www.ruby-forum.com/t/paginating-find-view-example/90903>\
**Category:** Rails\
**Created:** [April 2, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/paginating-find-view-example/90903 "2007-04-02T21:45:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [April 2, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/paginating-find-view-example/90903/1 "2007-04-02T21:45:37Z")

</div>

I’m using the paginating\_find plugin and I believe I have my  
controller setup correctly:

@users = Users.find :all,  
:page =\> {:size =\> 20},  
:order =\> “created\_at DESC”

I’m confused though on how to setup the view. This is what I tried:

\<%= link\_to ‘next’, :page =\> @users.next\_page %\>

Can anyone please post an example? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [April 3, 2007, 1:27am UTC](https://www.ruby-forum.com/t/paginating-find-view-example/90903/2 "2007-04-03T01:27:00Z")

</div>

Try this:  
\<%= paginating\_links(@users) %\>

Take a look at the link helpers:

> **[Welcome svn.cardboardrocket.com - BlueHost.com](http://svn.cardboardrocket.com/paginating_find/lib/paging_helper.rb)**
>
> Bluehost - Top rated web hosting provider - Free 1 click installs For blogs, shopping carts, and more. Get a free domain name, real NON-outsourced 24/7 support, and superior speed. web hosting provider php hosting cheap web hosting, Web hosting,...
