Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 9 commits ahead and 27 commits behind unobtrusive-jquery

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.rdoc

Complex Form Example: Deep Nesting

This solution uses the accepts_nested_attributes_for which was introduced in Rails 2.3. It supports any level of depth in nesting models. The primary challenge in deep nesting is getting the escaping working with JavaScript when adding new records.

Once you clone this repository, just run the migrations and start up the server to try it out.

rake db:migrate
script/server

See the branches for alternative solutions. Here's how to clone a remote branch.

git checkout -b deep origin/deep
Something went wrong with that request. Please try again.