Google Maps for Rails

Flatiron School / 13 December 2012

The following is a guest post by Aaron Streiter and originally appeared on his blog. Aaron is currently a student a The Flatiron School. You can learn more about him here, or follow him on twitter here.

As a student at the Flatiron School I recently gave a presentation at the NYC on Rails meetup called Google-Maps-for-Rails. Check out the speakerdeck here!

Google-Maps-for-Rails is a really neat gem which allows you to utilize the Rails MVC framework without sacrificing the front-end JS functionality of Google-Maps.

The deck includes a brief overview of how to map all NYC public pools listed on NYCOpenData. Because each pool, along with its coordinates and other attributes, is saved as an object instance in Active Record, this app is completely scalable.

google maps for rails

I used NYC public pools as a completely arbitrary example. If you have any geolocation-based data, I encourage you to use Google-Maps-for-Rails to map it!

Testing Tools in Rails Application Development Previous Post Metaprogramming: #const_set Next Post