I typed ruby C:\RailsApps\app\script\generate scaffold users
It showed the list of exists... creates...
I try to access http://localhost:4000/users
And the page has:
Routing Error
No route matches "/users" with {:method=>:get}
Thanks for the help!
I typed ruby C:\RailsApps\app\script\generate scaffold users
It showed the list of exists... creates...
I try to access http://localhost:4000/users
And the page has:
Routing Error
No route matches "/users" with {:method=>:get}
Thanks for the help!
You've got to use the singular 'user' on the call to scaffold generate.
(Note that you can remove everything created by script\generate with script\destroy.)