Hi Guys
First time on the list and pretty new to the rails way of doing
things, yup I know sorry… another newbie!
anyway, apologies out of the way, this is the problem I am having…
I have purchased the “Agile Development with Rails” book and have
just started running through the ‘Depot’ demo application.
I have got to page 57…
I have my project files all set up in Textmate, I have the databases
setup, with a table called products in depot_development ready to go
with all the right fields in it. I have changed my passwords using
OLDPASSWORD command (i recieved the errors described in the book
until i did this) but when I run “ruby script/generate scaffold
Product Admin” from with in my depot directory as instructed I get
the following error …
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
now I have searched and searched for why this should be… and looked
at the errata … no joy … what exactly is the error trying to
tell me?
I kind of get the idea that it is saying that files are missing… but
i thought that is what the “generate scaffold” command was going to do?
please, any help that anyone can offer would be greatly appreciated.
go easy on the new guy please hehehe
3Quid
email - [email protected]