uninitialized constant Paginator |rails 2.2.2

Hello All,
the below error driving me mad...

uninitialized constant SearchController::Paginator

i m using rails 2.2.2 version .i hope paginator is rails built in
class..

then why it shows me error.

Expecting solution for my error ..

Thanks for your time.

Hello All,
the below error driving me mad...

uninitialized constant SearchController::Paginator

i m using rails 2.2.2 version .i hope paginator is rails built in
class..

That was removed from rails in 2.0 (ie over 2 years ago if my memory
is correct). I think the general consensus is that will_paginate is
the best replacement.

Fred