How to route someone to a static error page if they come to your Rails app using Internet Explorer
in your application_controller, put;
def uh_oh_internet_explorer
before_filter :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
September 10th, 2013