Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Trung's latest activity

Saturday, September 11 2010
5612 request.referrer never returns nil for no referrer was created in Ruby on Rails
  • Trung
    Trung created the ticket at 12:15 AM
    # the referer of the client or '/'
    def referer
      @env['HTTP_REFERER'] || '/'
    end
    

    shouldn't the referrer method return nil? else this will fool me into believi...