Topic: request.env['HTTP_X_FORWARDED_FOR'] and Internet Explorer

Hello, I am trying to get the clients IP address for geo coding in a rails app. It all works when the user is using chrome or firefox but not IE. I used this varible request.env['HTTP_X_FORWARDED_FOR'] does anyone know why and how to fix it?