How can this be handled? Is there a way to setup something in routes.rb
for all routes not defined and/or not controller/action? Thanks...
Posted via http://www.ruby-forum.com/.
map.connect '*anything', :controller => "blah", :action =>
at the end of your routes, it will map anything it doesnt recognize
to the "unknown_request" action.
I think you place your application in production environment.
when routes is not match then it gives 404.html page. so visitor get
your default error message instead of routing error.
Gloscon Solution Pvt. Ltd.