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

Take look at:

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 <i>not</i> 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)

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

Hi Jeremy,

Thanks, will give that a go.

Byrn