NoMethodError in AdminController#index

I am reading Agile Web D. with Rails and after setting
everything up with the first application I get the following error:
NoMethodError in AdminController#index undefined method `scaffold

I then installed the plugin for scaffold and I got this error:
undefined method `paginate’

I have read on the web and in this group about installing The paginate
plugin but I cannot get it to work and I cannot find the plugin to
install. Where do I find the plugin? How do I install it on my
Mandriva system and if not how do I get rid of it?

PLEASE!

Unfortunately, the Agile Web Dev with Rails is out of date if you’re
using Rails 2.0

Here’s a link to a Railscast that shows you how to install and use the
will_paginate plugin.