I have a book called ‘Learning Ruby’ and under the section for rails is gives a step-by-step walk through of creating a simple Rails web app.
It says near the end type the command:
./script/generate scaffold addressbook addressbook
But part-way through I get the error:
wrong number of arguments (1 for 2)
I assume this is because a slight version difference, but I cant get my rails application to work, and was hoping somebody here might be able to help me?
If you run
script/generate scaffoldwithout any arguments, it will tell you how to use it: