I’m running:
WinXP-Pro/SP3
Rails 2.3.5
MySQL 5.0.37-community-nt
Firefox 3.6 browser
Mongrel web server
I have a Rails 2 app that initially brought up the Welcome screen
I ran:
ruby script/generate scaffold vendor nickname:string
qbname:string
I discovered that config\routes.ruby.rb now starts out:
ActionController::Routing::Routes.draw do |map|
map.resources :vendors
Following the advice of routes.rb, I renamed public\index.html by
appending “-renamed”
When I give the browser http://localhost:3000/, I get:
Routing Error
No route matches “/” with {:method=>:get}
So the map.resources :vendors is not enough to get to:
app\controllers\application_controller.rb and
app\views\vendors\something-or-other
Suggestions greatly appreciated.
Thanks in Advance,
Richard