Hi, this is probably easy but I can’t find any good examples of it.
I have 2 classes, Person and EmailAddress (one person has many
email_addresses). How can I create a form on which you can add one
person and multiple email addresses to the database?
I want to avoid creating two forms.
Preferably it should also do validation so that a person always has at
least one email address.
Any ideas or links to good tutorials on this anyone?