Skip to content

Commit

Permalink
Update forms_advanced.md (#28627)
Browse files Browse the repository at this point in the history
Fix typo

On Rails Guide, building-complex-forms is section 9

Co-authored-by: Kevin <[email protected]>
  • Loading branch information
osur-gaetano and KevinMulhern authored Aug 14, 2024
1 parent cf7ad9d commit 80c02d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Sometimes Rails helper methods will do it for you, but make sure you know what y
<div class="lesson-content__panel" markdown="1">

1. Read the Rails Guide on Forms section 5, which covers [populating a form with a collection of objects](https://guides.rubyonrails.org/form_helpers.html#choices-from-a-collection-of-arbitrary-objects).
1. Read the Same Rails Guide on Forms section 10, which covers [accepting nested form data](http://guides.rubyonrails.org/form_helpers.html#building-complex-forms).
1. Read the Same Rails Guide on Forms section 9, which covers [accepting nested form data](http://guides.rubyonrails.org/form_helpers.html#building-complex-forms).
1. Read the Same Rails Guide on Forms section 8, which covers the [parameter conventions for nested forms](https://guides.rubyonrails.org/form_helpers.html#form-input-naming-conventions-and-params-hash).
1. Read this blog post from [Peter Rhoades on working with nested forms](https://www.createdbypete.com/2014/04/04/working-with-nested-forms-and-a-many-to-many-association-in-rails-4.html). The example covers a lot of the things we've gone over so far, so follow along. Also note how he does the allowing of nested attributes in Rails 4.

Expand Down

0 comments on commit 80c02d2

Please sign in to comment.