From the listing you included below, I’d say Rails is telling you that views for the Admin controller already exist (i.e., line 3 shows 'exists app/views/admin"). I thought the scaffold command would just overwrite anything that was already there, but maybe that’s been changed.
----- Original Message -----
From: JosÃ© Bonnet
Sent: Thursday, April 20, 2006 10:45 AM
Subject: [Rails] generate scaffold not generating views
Sorry for the newbie question…
I’m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
Rails mailing list