Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 704 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 704 Bytes

Complex Form Examples

This repository contains examples of complex nested model forms in Rails 3. To try it out clone this repository and run the following commands.

bundle
rake db:migrate
rails s

See the branches for different approaches. Run this command to check out another branch.

git checkout -b jquery origin/jquery

The master and jquery branches contain an approach demonstrated in Railscasts episodes 196 and 197.

The nested_form branch contains an example using the nested_form gem.

The rails2 branch contains older examples of Rails 2 approaches.