Displaying 2 results from an estimated 2 matches for "_ingredient".
Did you mean:
ingredient
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello,
I just can''t seem to find a way to extend a form dynamically in ROR.
Say I am writing a recipe website. There is one form to enter the
recipe. There is room for N number of ingredients (let''s say a text
field for each ingredient name and selection list for the amount). What
if the user wants to add more than N ingredients as he types them in?
how do I do this without
2006 Jan 30
6
Looking for better code
Hi, I''ve been programming in RoR for about a week or 2-3, and I like it
very much.
Now, I have a certain problem that is very complicated, well for me at
least :-)
I have 3 database tables:
recipes
ingredients
and another one which binds the previous 2 tables together
Now, I want to have an input form where you can insert 1 recipe and a
certain amount of ingredients, say 5.
What do