NoMethodError (undefined method `model' for ContactControlle

I get an error message:

NoMethodError (undefined method `model' for ContactController:Class):

The error occurs when processing the statement:

model :contact

in the file app/controllers/contact_controller.rb (see below)

I built the application with the following commands:

rails AddressBook
cd AddressBook
ruby script/generate model contact
ruby script/generate controller contact

... I fixed the db to use mysql .. I created the needed database table
per..
http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/

The error happens when I connect: http://…:8000/contact

This is my first rails application!

I can not figure out all the details of how the method 'model' is
defined and called from the controller!

Thanks for any information.

I get an error message:

> NoMethodError (undefined method `model' for ContactController:Class):

The error occurs when processing the statement:> model :contact

That's obsolete. You don't need it anymore. I'd follow another
tutorial if i were you, that one is 3 years old which is positively
ancient for rails.

Fred