Hi there

How to route someone to a static error page if they come to your Rails app using Internet Explorer

in your application_controller, put;


before_filter :uh_oh_internet_explorer
def uh_oh_internet_explorer
if request.env['HTTP_USER_AGENT'].downcase =~ /msie/i
redirect_to "/uh_oh_internet_explorer.html"
end
end

then make a static page professing the miseries of internet explorer

put that glorious static page in the public directory in your rails app