public
Description: Various ways to handle multi-model forms in Rails.
Homepage:
Clone URL: git://github.com/ryanb/complex-form-examples.git
commit  3c2238499def6922c40e103e77b95a73675d60aa
tree    82b2e526a4e44b80bcef06c3071131873b12d43b
parent  4e4623659ba56cc338eb25bde8d1af55d4fb026c
complex-form-examples / README.rdoc
100644 13 lines (7 sloc) 0.42 kb

Complex Form Examples

This master branch is a simple solution for the multi-model form problem using the latest accepts_nested_attributes_for available in Rails 2.3.

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