We want to make an application that has the ability to take an uploaded image and plot where it was taken on a map. To do so, we're going to need to use a few gems:
pry-rails
: the worlds most badass gem there ever was. Pry is a general debugging tool that allows you to set breakpoints (with something likebinding.pry
), lookup method definitions (with prefacing the method with$
), and lots of great syntax highlighting.better_errors
andbinding_of_caller
: is an amazing way to transform the standard rails error messages with something that has a REPL that allows you to see what the code is like at the moment of failure.paperclip
: a very popular tool to allow people to upload files to your applications and store them with a modelgeocoder
: a location management gem that allows us to do lookups of locations by latitude and longitude.mini_exiftool
: as the NSA knows, all images have something called metadata associated with them. Modern cell phones (which a large populat