Hi,
I ran:
http://localhost:3000/
I got:
Routing Error
No route matches "/" with {:method=>:get}
I had just run:
ruby script/generate scaffold vendor nickname:string
qbname:string
rename public\index.html to --index.html
I listed Config\routes.rb:
ActionController::Routing::Routes.draw do |map|
map.resources :vendors
I thought the plural "vendors" was odd, so I changed it to singular:
app ran fine.
Why did the plural version get generated? I'm running Rails 2.3.5 on
WinXP-Pro/SP3
Thanks in Advance
Richard
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.