I’m trying to get some basic stuff working from the “Agile Web Dev with
book - chapter 6 “Create the Maintenance App”. (On linux, mysql 4.1,
I have the depot_development db created, and teh “products” table
The user name and pw are correct in database.yml
But I get this:
daniel@roomatthetop:~/work/demo$ ruby script/generate scaffold Product
error Before updating scaffolding from new DB schema, try
table for your model (Product)
Has to be something simple (I’ve already made this work on win box
previously, only did it on my linux because I got an identical error
trying to throw ror at a more complex schema I want to play with).
I didn’t see any clues in the errata for the book. Any ideas on what
be the problem, or how to debug?