ysadka/bartendr — pull request #12 by fab (2013-11-12 08:19:54+00:00)
Title: BWAHH DATA

http://inception.davepedu.com/

You should be able to pull this down and run the following commands to get a stack of drinks with ingredients into your local database:

rake parse_drinks drinks.csv
rake parse_ingredients ingredients.csv

I’ve tried to make the code easier to follow with a few comments. Feel free to ask questions and offer suggestions to improve.

Not fully robust but it does a decent job of dealing with the different quantities. We could improve it by seeding more ingredients (especially with the correct colors).

Also, I haven’t implemented glasses at this stage but as you can see the scraped data is there. I don't believe that import.io gave me ingredients for all the drinks so I'm going to leave the scraper running overnight.