Re: [symfony-users] Storing a list of arbitrary length to the DB

2010-08-23 Thread Daniel Lohse
You are going to model this as a many-to-many relation between a (one) Recipe and its (many) Ingredients where each Recipe can have an infinite number of ingredients and one ingredient can belong to an infinite number of recipes. :) You'll find a description of how to do many-to-many relationshi

[symfony-users] Storing a list of arbitrary length to the DB

2010-08-23 Thread json2001
I'm very new to symfony, in fact I'm still reading the gentle intro and working through Jobeet, and this question is probably very simple (I hope!) as I image this comes up all the time. Users will be creating recipes. I would like to keep another table of ingredients for autocompletion on the Cre