The problem is a catch-all route at the end would be AFTER the default

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

type routes. So weird routes that things like Google Toolbar and
MS Word keep sending like "fake/notAnAction.gif" would not get caught by 
my catch-all, right?

I guess apache is the way to go.

Or, in another question I posted in another thread, figure out how to 
keep Rails from putting a backtrace in for these kind of errors in 
general. Haven't figured out where in Rails is actually generating that 
annoying backtrace in production.log in the first place.


Philip Hallstrom wrote:
> 
> You could add a catch-all route at the end that checks for
> "favicon.ico" and then send-file the real favicon.ico back.  Or to
> speed it up do it using rack/metal.
> 
> But if were me, I'd do it in apache.  That will definitely be the
> fastest.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to