I have a rails form for movies. In this form is Title and Trailer_id (which has the youtube url)
Trailer_id is an association with the trailers scaffold.
So when I go to /trailers/new and add a new youtube url, I can then see it in a dropdown on my movies/new.
But how do I automatically create a new trailer when entered in the movies form
So instead of having me go to trailers/new and create a new trailer How do I create it directly from the Movies form