Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Add stub section on complex forms until a definitive solution makes i…

…t into core
  • Loading branch information...
commit 527ee9b079722a204641d410c38017f1d7d3b7c0 1 parent 15b9cbb
@fcheung fcheung authored
Showing with 12 additions and 4 deletions.
  1. +12 −4 railties/doc/guides/source/form_helpers.txt
16 railties/doc/guides/source/form_helpers.txt
@@ -10,7 +10,6 @@ In this guide you will:
* Make model-centric forms for creation and editing of specific database records;
* Generate select boxes from multiple types of data;
* Learn what makes a file upload form different;
-* Build complex, multi-model forms.
NOTE: This guide is not intended to be a complete documentation of available form helpers and their arguments. Please visit[the Rails API documentation] for a complete reference.
@@ -725,11 +724,20 @@ As a shortcut you can append [] to the name and omit the `:index` option. This i
produces exactly the same output as the previous example.
+Complex forms
+Many apps grow beyond simple forms editing a single object. For example when creating a Person instance you might want to allow the user to (on the same form) create multiple address records (home, work etc...). When later editing that person the user should be able to add, remove or amend addresses as necessary. While this guide has shown you all the pieces necessary to handle this, Rails does not yet have a standard end-to-end way of accomplishing this, but many have come up with viable approaches. These include:
+* Ryan Bates' series of railscasts on[complex forms]
+* Handle Multiple Models in One Form from[Advanced Rails Recipes].
+* Eloy Duran's[nested_params] plugin
+* Lance Ivy's[nested_assignment] plugin and[sample application].
== Changelog ==[Lighthouse ticket]
-Mislav Marohnić <>
-link:../authors.html#fcheung[Frederick Cheung]
+* Mislav Marohnić <>
+* link:../authors.html#fcheung[Frederick Cheung]
Please sign in to comment.
Something went wrong with that request. Please try again.