From b73ac2685ada58c8e799bc45e8400b8964588d61 Mon Sep 17 00:00:00 2001 From: Osur Gaetano <165330888+osur-gaetano@users.noreply.github.com> Date: Tue, 13 Aug 2024 21:42:05 +0300 Subject: [PATCH] Update forms_advanced.md Fix broken link --- ruby_on_rails/advanced_forms_and_activerecord/forms_advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby_on_rails/advanced_forms_and_activerecord/forms_advanced.md b/ruby_on_rails/advanced_forms_and_activerecord/forms_advanced.md index 17785f790c6..1c76ad17b96 100644 --- a/ruby_on_rails/advanced_forms_and_activerecord/forms_advanced.md +++ b/ruby_on_rails/advanced_forms_and_activerecord/forms_advanced.md @@ -177,7 +177,7 @@ Sometimes Rails helper methods will do it for you, but make sure you know what y 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 8, which covers the [parameter conventions for nested forms](http://guides.rubyonrails.org/form_helpers.html#understanding-parameter-naming-conventions). + 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.