classic_pagination will fix your undefined method paginate. will_paginate is
much faster, but you will have to change the paginate code in your
controller.
On Dec 18, 2007 1:17 PM, Wei Liu
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> i''m a rails newbie,i am reading Agile Web Development with
Rails,Second
> Edition. my rails version is 2.0.2.
>
> i create a controller admin ,i edit admin_controller and add a line:
>
> scaffold :product.
>
> but after i start server, i connect this server. the error is began:
>
> undefined method `paginate'' .
>
> i have install will_pagination.
>
> Do I have to install classic_pagination?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Ryan Bigg
http://www.frozenplague.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---