The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Unclobbering IE7 Compatibility in Rails 3

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vincent Woo

Posts: 30
Nickname: vwoo
Registered: Sep, 2008

Vincent Woo is a Ruby on Rails enthusiast.
Unclobbering IE7 Compatibility in Rails 3 Posted: Oct 16, 2010 5:52 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Vincent Woo.
Original Post: Unclobbering IE7 Compatibility in Rails 3
Feed Title: Undefined Range
Feed URL: http://www.undefinedrange.com/categories/ruby-on-rails.rss
Feed Description: Interesting things I experience with Ruby on Rails.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Vincent Woo
Latest Posts From Undefined Range

Advertisement

I work with an Apple computer and have to open virtual machines to test websites with the various versions of Internet Explorer. That becomes rather tedious and annoying but it helps that I can check IE7 using the IE8 web browser so that is one less VM to worry about. Recently, I started working on a new website using Rails 3 and, to my dismay, the IE7 compat button was missing. Turns out that is a deliberate Rails 3 decision.

Looking at the Rails source code, it is adding a X-UA-Compatible header to always target the latest IE browser version. The good news is we can disable it for IE7 testing purposes. In #{Rails.root}/config/application.rb:

config.action_dispatch.best_standards_support = false if Rails.env == 'development'

Read: Unclobbering IE7 Compatibility in Rails 3

Topic: Let The World Know Who YOU Are! Previous Topic   Next Topic Topic: The Real Value of Money

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use