# Paginate is deprecated ---- help needed!

**URL:** <https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980>\
**Category:** Rails\
**Created:** [January 4, 2008, 9:29am UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980 "2008-01-04T09:29:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 4, 2008, 9:29am UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980/1 "2008-01-04T09:29:03Z")

</div>

Hi all,

when i went to run my test in ROR it gives a error as

DEPRECATION WARNING: paginate is deprecated and will be removed from  
Rails 2.0 (Pagination is moving to a plugin in Rails 2.0: script/plugin  
install svn://errtheblog.com/svn/plugins/classic\_pagination) See  
[Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/deprecation) for details. (called from  
public\_search at  
/home/NAD/Desktop/codes/trunk/PRJOB/app/controllers/search\_controller.rb:14

the resone for the DEPRECATION is mention as this method is slower in  
the searching. bt i could not feel such a thing.

so guys can u pls tell me a method or a new way to over come this  
poblem. bz when i search for a solution for the DEPRECATION problem no  
one has given a proper solution for this one.

so pla nay one can help me on this.

nadeesha

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 9, 2008, 2:44pm UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980/2 "2008-01-09T14:44:17Z")

</div>

Hello,

Myself and a friend use RoR to run a small site that makes a lot of use  
of pagination. We’ve got a fairly standard internet hosting package,  
which does _not_ include terminal access to the server.

As I understand it, we won’t be able to install any plugins.

So we need to either convince our ISP to do the plugin install or write  
our own pagination methods?

I can understand depreciating a method, but removing it and hence not  
offering backwards compatability seems unneccesary.

Byrn  
([www.rocket-propelled-badger.com](http://www.rocket-propelled-badger.com))

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 4, 2008, 10:40am UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980/3 "2008-01-04T10:40:34Z")

</div>

Take look at:

> **[I'm Paginating Again — err.the\_blog](http://errtheblog.com/posts/56-im-paginating-again)**
>
> Err the Blog: Ruby and Rails from the front.

> **[Pagination in Ruby On Rails using will\_paginate plugin](https://nasir.wordpress.com/2007/10/31/pagination-in-ruby-on-rails-using-will_paginate-plugin/)**
>
> We do pagination in Rails by using its built in paginate method in our controller def display\_data @display\_data\_pages, @display\_data = paginate(:location\_data, :conditions =\> \[“loc.update…

> **[\#51 will\_paginate - RailsCasts](http://railscasts.com/episodes/51-will-paginate)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

On Jan 4, 9:29 am, Nadeesha M. \<rails-mailing-l…@andreas-

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 9, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980/4 "2008-01-09T15:00:03Z")

</div>

If you can upload files you can install plugins. Plugins are just  
installed to the vendor/plugins/ directory in your Rails application  
folder (ie., they are not system wide).

If you have to, check the plugin out from SVN then FTP it to the right  
folder.

–Jeremy

On Jan 9, 2008 8:44 AM, Andrew O’byrne  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> our own pagination methods?
> 
> >

–  
[http://www.jeremymcanally.com/](http://www.jeremymcanally.com/)

My books:  
Ruby in Practice

> **[Ruby in Practice](https://www.manning.com/books/ruby-in-practice)**
>
> Like Ruby itself, Ruby in Practice will make you more productive. The book shows you practical techniques and strategies for small projects and large-scale environments. A cookbook-style reference, it gives you concrete examples of systems...

My free Ruby e-book

> **[Site not found · DreamHost](http://www.humblelittlerubybook.com/)**
>
> The owner of this domain has not yet uploaded their website.

My blogs:

> **[Site not found · DreamHost](http://www.mrneighborly.com/)**
>
> The owner of this domain has not yet uploaded their website.

[http://www.rubyinpractice.com/](http://www.rubyinpractice.com/)

---

<div class="post-metadata">

**Author:** ![nad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ed8c4c/32.png) [@nad](https://www.ruby-forum.com/u/nad)\
**Post date:** [January 9, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/paginate-is-deprecated-help-needed/124980/5 "2008-01-09T15:15:57Z")

</div>

Hi Jeremy,

Thanks, will give that a go.

Byrn
