Topic: Routing Error no route found to match "/user/list" with {:method=>:get

Let me preface by saying, I am most definitely a newbie.

I walked away from fully functional application 2 days ago and came back to it yesterday with every piece of it giving me this type of error.  Tried uninstalling (ruby, rails, mysql) and reinstalling and recreating app and still getting it.  When uninstalled, I still get this error which leads me to believe that it's not truly uninstalled since this appears to be a rails error.....I'm hosting at Westhost. 

I have not made any changes to routes.rb....the default was working fine for my purposes so far.

Also, this is Rails 1.2.3.  I have another installation of a previous version working fine on another westhost account, which serves as my QA installation of this same application. 

Any suggestions would be greatly appreciated...

Re: Routing Error no route found to match "/user/list" with {:method=>:get

I too have the same issue. What was working yesterday gives me this weird error today.

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

I tried modifying the config/boot.rb
changed root_path = Pathname.new(root_path).cleanpath(true).to_s
to
root_path = Pathname.new(root_path).cleanpath(true).realpath().to_s

Rails still doesn't budge. Can anyone help me here.
Thanks in advance.

Re: Routing Error no route found to match "/user/list" with {:method=>:get

I get an error too when I come back to an app.

I was following along the peepcode tutorial and when I came back to it I got an error ?

Last edited by Opel (2007-11-06 18:00:32)

Re: Routing Error no route found to match "/user/list" with {:method=>:get

You need to insert into the config/routers.rb, something like this

 map.connect ':controller/:action/:id.:format'
  map.connect ':controller/:action/:id'

You don't need to change the boot.rb