Pagination using will_paginate

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.

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’: Connection refus

script/plugin install svn://errtheblog.com/svn/plugins/will_paginate

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

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’: 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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs