Nested Forms With JQuery

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 MBDownload (iphone & ipod) 40.7 MB

Sign up for the Newsletter

Join our newsletter and get updates in your inbox. We won’t spam you and we respect your privacy.