Debugging a routing error

How do I debug a routing error?

I've been running examples from the Agile Rails book just fine to the
end of Chapter 8, cart creation. Then the next morning my installation
stopped working.

"no route found to match "/store" with {:method=>:get}"

attempting to debug:

rs = ActionController::Routing::Routes
rs.recognize_path "/store"

=> {:controller=>"store", :action=>"index"}

the problem persists despite making the suggestion of changing

root_path =

in config/boot.rb for my rails 1.2.3 installation.


Ming -


ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id.:format'
  map.connect ':controller/:action/:id'

Jodi -

The pdf looks really cool... though at this stage of my railship, i'm
not sure what to make of it...

I might to install Edge Rails and Rick's routing_navigator plugin to
get to the root of my problem


i meant to say that in boot.rb i changed

root_path =


root_path =


this has not helped...

i fixed the problem by uninstalling and reinstalling the rails gem.

apparently i have a version of the elsewhere reported spurious routes
for rails 1.2.3 that doesn't get fixed by adding realpath to

root_path =

thanks to all who responded.