RailsCasts Pro episodes are now free!

Learn more or hide this

Nested Model Form Part 1

#196 Nested Model Form Part 1

Jan 11, 2010 | 11 minutes | Active Record, Views, Forms
Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields.
  • Download:
  • source codeProject Files in Zip (100 KB)
  • mp4Full Size H.264 Video (16.1 MB)
  • m4vSmaller H.264 Video (11.1 MB)
  • webmFull Size VP8 Video (28 MB)
  • ogvFull Size Theora Video (21.6 MB)