edbond / complex-form-examples forked from alloy/complex-form-examples

Simple Rails application which shows the use of NestedAttributes and AutosaveAssociation.

This URL has Read+Write access

alloy (author)
Tue Aug 25 03:32:29 -0700 2009
commit  111cf7a69f20fd1ac27bd8a76576e4bda1f82fed
tree    9e759d614b5d05d3ee5b4b0ad5055ca2af988ef3
parent  58fccc44d066e19fa92cc8bb327ab0ace52ae33a
name age message
file .gitignore Wed Aug 20 01:51:11 -0700 2008 Cleanup the plugin checkouts. [alloy]
file .gitmodules Wed Feb 04 00:34:20 -0800 2009 Updated vendored Rails to use origin edge inste... [alloy]
file LICENSE Mon Mar 09 14:48:32 -0700 2009 Updated README and LICENSE. Removed useless tes... [alloy]
file README Mon Mar 09 14:48:32 -0700 2009 Updated README and LICENSE. Removed useless tes... [alloy]
file Rakefile Fri Jul 18 14:10:24 -0700 2008 initial import [ryanb]
directory app/ Loading commit data...
directory config/ Tue Aug 19 16:57:03 -0700 2008 Toying with fields_for a has_many association a... [alloy]
directory db/ Mon Mar 09 14:38:39 -0700 2009 added some files Signed-off-by: Eloy Duran <el... [evensoul]
directory doc/ Fri Jul 18 14:10:24 -0700 2008 initial import [ryanb]
directory public/ Thu Mar 12 07:05:54 -0700 2009 Oops, I messed up. [alloy]
directory script/ Fri Jul 18 14:10:24 -0700 2008 initial import [ryanb]
directory test/ Mon Mar 09 14:52:41 -0700 2009 Made projects_controller tests green. Removed l... [alloy]
directory vendor/ Mon Mar 09 14:38:03 -0700 2009 preparation Signed-off-by: Eloy Duran <eloy.de... [evensoul]
README
Complex Form Examples - 2 level nesting
----------------------------------------

Example of nested forms with 2 level nesting.

- We've extracted html chunks into javascript variables in the head to avoid repetition and double javascript escaping 
(escape_javascript).
- Events work with delegate because it's easier when adding dynamic html parts.
- Most of the javascript is extracted to application.js

Rails is vendored using a Git submodule to official repository:
git://github.com/rails/rails.git