jamcohen/CS183_Project — pull request #5 by jamcohen (2013-12-05 09:10:01+00:00)
Title: Finally got dishes to add with ingredients

Changed the table to store ingredients as a json string. They are stored in the form of:
[{name:"carrots", amount:8, measurement:"cups"},{name:"beef", amount:5, measurement:"oz"},{name:"salt", amount:2, measurement:"tsp"}]

Right now they are not being validated at all just stored directly into the database. Redirection isn't working yet either.

The way ingredients are added and subtracted needs some minor tweaking (adding always adds a row to the end of the list and subtracting always removes the last one on the list as opposed to the row that was clicked on)