New to Scaffolding

0 views
Skip to first unread message

Justin To

unread,
Jul 8, 2008, 6:50:36 PM7/8/08
to rubyonra...@googlegroups.com
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/.

Pardee, Roy

unread,
Jul 8, 2008, 8:30:35 PM7/8/08
to rubyonra...@googlegroups.com
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.)

Reply all
Reply to author
Forward
0 new messages