Using ruby to find similar recipes based on ingredients they contain
- by Moe
I have a collection of recipes, each having a number of ingredients. This information is stored in a join table. Give a recipe, I'd like to find recipes similar to it based on ingredients. How would I go about doing this?