You may don’t know this, but ipgeobase.ru is leading ip-geocoding service in Russia and Ukraine. Its accuracy of coordinates detection for Russian ip-addresses is much higher then in the freegeoip.net. For example, I live in Tver and my home ip-address is 22.214.171.124; freegeoip tells me that I am in Moscow, ipgeobase tells me that I am in Tver, about 150 kilometres difference!
That’s why I decided to add support of ipgeobase to geocoder.
With some ideas brought from Kirill Mokevnin’s ipgeobase gem, I added a couple of classes to geocoder. Here is a usage example: