Re: Problems with Scaffolding ...

Hendie Dijkman
Tue, 25 Oct 2005 19:25:41 -0000

Thanks for the quick response Chris.

Yes, to all of your questions. I created the three databases, users, and the
products table in the database exactly as per the book. Rails does connect,
because if I change the username or password in the database.yml config
file, it complains about not being able to connect.

I delved into the rails code a little and it seems that error message comes
from a create_sandbox method in the scaffold_generator when a
ActiveRecord::StatementInvalid exception is thrown. Dunno, maybe that
triggers something with someone who has had similar problems?