Instead of using geocoder and fetching the info from a 3rd party web service, you could use a local installation of the geoip database from maxmind and the geoip-c gem.<p><a href="https://github.com/mtodd/geoip" rel="nofollow">https://github.com/mtodd/geoip</a>
This is great, but why oh why do people still use HAML over SLIM[1] as their templating language?<p>% is unnecessary, and I find slim's attribute handling far superior to clunky haml, and to top it all off slim compiles faster than haml.<p>1: <a href="http://slim-lang.com/" rel="nofollow">http://slim-lang.com/</a>