On my .rb routes, I have:
map.connect ':name',
:controller => 'my_classes',
:action => 'show'
And this works fine, so such a url sends the following parameters:
http:
Parameters: {"name"=>"awesome"}
But if I have something like this, I get this error:
http:
ActionController::RoutingError (No route matches "/weak.sauce" with {:method=>:get}):
How can I get around this?
source
share