Shon Schetnan
2005-Oct-30 02:20 UTC
Newbie Problem running ruby script/generate scaffold Product Admin on OS/X
Hello All,
I am new to rails. I just purchased the book Agile Web Development
With Rails and am having problems getting out of the shoot.
I have been working on this for hours, and it seems that my mysql
stuff should finally be setup ok, but I continue to get the following
error when running ruby script/generate scaffold Product Admin
Please help! :) I am really stuck.
Shon-Schetnans-Computer:~/development/projects/rails/depot
shonschetnan$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/product.rb
identical test/unit/product_test.rb
identical test/fixtures/products.yml
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
Thanks,
-Shon