RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xRevised Episodes xActive Record x
Nested Model Form (revised)
Episode #196Apr 19, 2012228 comments

Nested Model Form (revised)

Handling multiple models in a single form is easy with accepts_nested_attributes_for. Here you will also learn how to add and remove nested records through JavaScript. (11 minutes)