![Teach Me To Code » Screencasts (iPhone/iPod) show](https://d3dthqtvwic6y7.cloudfront.net/podcast-covers/000/053/584/small/teach-me-to-code-screencasts-iphone-ipod.png)
Summary: Ruby on Rails allows you to nest models within a form. Ryan Bates of Railscasts demonstrated how to set up these forms with JavaScript using the Prototype framework, which ships with Rails. In this episode, Charles Max Wood gives a brief overview of how Ryan's code works, and then refactors the JavaScript to use JQuery. Ryan Bates demonstrated how to build a form with nested attributes in Ruby on Rails with Prototype. This screencast demonstrates how to refactor that form into usage of jQuery. Download 88.4 MB Download (iphone & ipod) 40.7 MB