Paginate is deprecated ---- help needed!

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

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)

Take look at:

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

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
[email protected] wrote:

our own pagination methods?


http://www.jeremymcanally.com/

My books:
Ruby in Practice

My free Ruby e-book

My blogs:

http://www.rubyinpractice.com/

Hi Jeremy,

Thanks, will give that a go.

Byrn