title: Devise gem not working for IE8 in staging (but works for Chrome and Firefox)
body: <p>We use devise 1.0.6 (Ruby 1.9.2 / Rails 2.3.8) for authentication.</p>
  
  <p>For some reason on staging, user authentication seems to be not working in IE8 because, when registered users log in, they did not get redirected to their own desk page (desk_user_url, see below).  They got redirected to the landing (home) page instead.</p>
  
  <p>=====</p>
  
  <pre><code>class MainController &lt; ApplicationController
    skip_before_filter :authenticate_user!, :except =&gt; [:support]
    protect_from_forgery :except =&gt; :community
  
    def landing
      if user_signed_in?
        redirect_to desk_user_url
        return
      end
    end
  </code></pre>
  
  <p>======</p>
  
  <p>However, it works just fine in Chrome and Firefox.</p>
  
  <p>Any ideas on how to fix this?  Is this a problem with devise or is it something else?</p>
  
  <p>Thanks.</p>