Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

timriley/complex-form-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. This version uses unobtrusive JavaScript with jQuery and HTML 5.

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

rake db:migrate
script/server

Special thanks to Tim Riley and Eloy Duran.

About

Various ways to handle multi-model forms in Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.2%
  • JavaScript 2.8%