Do you have this line at the bottom of your routes.rb:

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

Cheers,
Luke

On Nov 12, 2007, at 9:59 AM, Nicholas Van Weerdenburg wrote:

It looks like any url that has an explicit route in routs.rb works, and anything that is implied doesn’t.



It must be something in my config. I was running 1.043 and moved to the trunk, and I must have forgot something from long ago.



Thanks,

Nick



From: Luke Melia [mailto:[EMAIL PROTECTED]
Sent: November 12, 2007 1:27 AM
To: Nicholas Van Weerdenburg
Cc: track-discuss
Subject: Re: [Tracks-discuss] Routing Errors on Trunk



Hi Nick,



I am definitely not seeing those errors in the trunk.



Not sure off the top of my head what might be going on.



Cheers from NYC,

Luke



On Nov 11, 2007, at 11:15 PM, Nicholas Van Weerdenburg wrote:




Hi All,



I installed the trunk, and am getting some strange errors. Before reporting bugs, I thought I’d check if I’m misconfigured something.



First of, most of the app works. I can create contexts, projects and add actions. However, certain pages fail.



/preferences works

/preferences/edit gives the following error:

Application error (Apache)

Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/ 500.html



ActionController::RoutingError (no route found to match "/ preferences/edit" with {:method=>:get}):

/vendor/rails/actionpack/lib/action_controller/routing.rb: 1292:in `recognize_path'

/vendor/rails/actionpack/lib/action_controller/routing.rb: 1282:in `recognize'

    /vendor/rails/railties/lib/dispatcher.rb:40:in `dispatch'

/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'

/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'

/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'

/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'



The stats page gives the same error:

/stats



ActionController::RoutingError (no route found to match "/stats" with {:method=>:get}):

/vendor/rails/actionpack/lib/action_controller/routing.rb: 1292:in `recognize_path'

/vendor/rails/actionpack/lib/action_controller/routing.rb: 1282:in `recognize'

    /vendor/rails/railties/lib/dispatcher.rb:40:in `dispatch'

/vendor/rails/railties/lib/fcgi_handler.rb:168:in `process_request'

/vendor/rails/railties/lib/fcgi_handler.rb:143:in `process_each_request!'

/vendor/rails/railties/lib/fcgi_handler.rb:109:in `with_signal_handler'

/vendor/rails/railties/lib/fcgi_handler.rb:142:in `process_each_request!'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'

/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'

/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_each_request!'

Thanks,
Nick

_______________________________________________

Tracks-discuss mailing list

[email protected]

http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss





_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to