# Pagination using will\_paginate

**URL:** <https://www.ruby-forum.com/t/pagination-using-will-paginate/122391>\
**Category:** Rails\
**Created:** [December 7, 2007, 8:28am UTC](https://www.ruby-forum.com/t/pagination-using-will-paginate/122391 "2007-12-07T08:28:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratnavel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Post date:** [December 7, 2007, 8:28am UTC](https://www.ruby-forum.com/t/pagination-using-will-paginate/122391/1 "2007-12-07T08:28:07Z")

</div>

Hi,

I use will\_paginate plugin to paginate the records in my view file…

I implement the same in 2 of my modules…

Its working fine in one module where i perform only the basic CRUD  
operation.

In the other module i do have search option. This plugin behaves  
different for that method…

Normally if one click the page number links the request will be posted  
back to the same action or method which rendered that page… But in my  
case due to some url formation errors its getting redirected to the show  
method…

Did any one faced similar issue… If so help me fixing it.

Thanks in advance.

Ratnavel S.

---

<div class="post-metadata">

**Author:** ![ratnavel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Post date:** [December 7, 2007, 9:57am UTC](https://www.ruby-forum.com/t/pagination-using-will-paginate/122391/2 "2007-12-07T09:57:41Z")

</div>

Hi, I was trying to use will\_paginate plugin but I could not download it  
from the repository. each time i execute the following command I  
received this error,  
svn: Can’t connect to host ‘[errtheblog.com](http://errtheblog.com)’: Connection refus

script/plugin install svn://errtheblog.com/svn/plugins/will\_paginate

is there different place that I can download from it. Regards

---

<div class="post-metadata">

**Author:** ![ratnavel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Post date:** [December 7, 2007, 10:45am UTC](https://www.ruby-forum.com/t/pagination-using-will-paginate/122391/3 "2007-12-07T10:45:35Z")

</div>

Shuaib Z. wrote:

> Hi, I was trying to use will\_paginate plugin but I could not download it  
> from the repository. each time i execute the following command I  
> received this error,  
> svn: Can’t connect to host ‘[errtheblog.com](http://errtheblog.com)’: Connection refus
> 
> script/plugin install svn://errtheblog.com/svn/plugins/will\_paginate
> 
> is there different place that I can download from it. Regards

try this

ruby script/plugin install  
svn://errtheblog.com/svn/plugins/will\_paginate

include the word ruby before the script/plugin it’ll have to work…

Also conform that you type this command in command prompt navigating to  
the project path  
(example:  
E:\Tests\cookbook\>ruby script/plugin install  
svn://errtheblog.com/svn/plugins/will\_paginate)

It’ll happen some times if u copy the URL from some web pages Better  
type it…

All the best…
