For years I have been determined a users location with the help of Geocoder, looking up the IPv4 address. By firing
request.location, I determined the location, and if the country was multilingual, I looked up the browser language setting to set the appropriate language. When I feed an IPv6 address to my Rails app, the IP address returns :::1, which isn't very helpful.
Unfortunately, IPv6 poses a challenge when it comes to determining a visitors location. Is there any proven way of working with IPv6 on Ruby-on-Rails?
I have googled my way through the internet but didn't come across a specific solution.