from Hacker News

Create a Heatmap of Geocoded IP Addresses with Rails

by pa7 on 5/11/13, 4:09 PM with 10 comments

  • by jyunderwood on 5/11/13, 11:18 PM

    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.

    https://github.com/mtodd/geoip

  • by blissofbeing on 5/11/13, 4:51 PM

    This is great, but why oh why do people still use HAML over SLIM[1] as their templating language?

    % 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.

    1: http://slim-lang.com/