Hi, I’m going through the Depot tutorial in the book “Agile Web
Development with Rails” and I can’t even get past the very first step.
I’m getting the following error:
“Before updating scaffolding from new DB schema, try creating a table
for your model (Product)”
when I try to run "ruby script/generate scaffold Product Admin.
I have a table called “products” created in MySQL database
depot_development and so it’s not a name mismatch problem. I google’d a
around and found that people who ran into this problem eventually
“fixed” it by not using a MySQL password. So I removed my MySQL user
password and the scaffold command worked. Is there a correct way to fix
this problem? I don’t want to have an empty password for my sql