---
title: "Discussion on \"Rails Nested Forms with Turbo Streams\" | Hashnode"
description: "Discussion on \"Rails Nested Forms with Turbo Streams\". Optimize nested Rails forms with Turbo Streams, reducing JavaScript, and utilizing DOM manipulation for improved user experience"
url: "https://hashnode.com/posts/rails-nested-forms-with-turbo-streams/65a18dbbe0f8c5818d4fb710"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rails Nested Forms with Turbo Streams](https://code.avi.nyc/rails-nested-forms-with-turbo-streams?utm_source=hashnode&utm_medium=feed)

Optimize nested Rails forms with Turbo Streams, reducing JavaScript, and utilizing DOM manipulation for improved user experience

Jan 12, 2024 · 3 min read · code.avi.nyc  
Read the article

-   [#nested-forms](https://hashnode.com/tag/nested-forms)
-   [#turbo-streams](https://hashnode.com/tag/turbo-streams)
-   [#rails](https://hashnode.com/tag/rails)
-   [#stimulus](https://hashnode.com/tag/stimulus)

## Written by

[Avi Flombaum](https://hashnode.com/@avinyc)

@avinyc · New York, NY

  
[View profile](https://hashnode.com/@avinyc)

Engineer, educator, and entrepreneur that loves building products.

I'm an engineer, educator, and entrepreneur that has been building digital products for over 20 years with experience in startups, education, technical training, and developer ecosystems. I founded Flatiron School in NYC where I taught thousands of people how to code. Previously, I was the founder of Designer Pages. Currently I'm the Chief Product Officer at Revature.

## Responses 1

Markdown supported · ⌘↵ to post

[Teddy Valente](https://hashnode.com/@Belibaste)

[Jan 26, 2024](https://hashnode.com/posts/rails-nested-forms-with-turbo-streams/65a18dbbe0f8c5818d4fb710/comment/65b362a927a4ed841be0d5bd)

The Stimulus Component for Nested Forms would have work great for this example. But the way you show could be use when some inputs depends on the value of another one, so you can update the form with corresponding inputs.
