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.)
-----Original Message-----
From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
[mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of
Justin To
Sent: Tuesday, July 08, 2008 3:51 PM
To: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: [Rails] New to Scaffolding
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!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---