I have a question about scaffold on rails2

i’m a rails newbie,i am reading Agile Web D. 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?

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

undefined method `paginate’ .

i have install will_pagination.

Do I have to install classic_pagination?

Posted via http://www.ruby-forum.com/.


Ryan B.
http://www.frozenplague.net

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs