This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Jul 18 14:10:24 -0700 2008 | |
| |
LICENSE | Fri Jul 18 14:10:24 -0700 2008 | |
| |
README.rdoc | Tue Aug 04 16:49:23 -0700 2009 | |
| |
Rakefile | Fri Jul 18 14:10:24 -0700 2008 | |
| |
app/ | Wed Aug 05 12:09:43 -0700 2009 | |
| |
config/ | Mon Aug 03 17:51:03 -0700 2009 | |
| |
db/ | Tue Aug 04 16:16:33 -0700 2009 | |
| |
doc/ | Fri Jul 18 14:10:24 -0700 2008 | |
| |
public/ | Wed Aug 05 12:11:10 -0700 2009 | |
| |
script/ | Fri Jul 18 14:10:24 -0700 2008 | |
| |
test/ | Tue Aug 04 16:16:33 -0700 2009 |
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







