Persisting nested form attribute indexes through Turbo updates
How-to 5 min +50 XP
When a Turbo Stream replaces part of a Rails nested form, the replacement fields must keep the same attribute index as their siblings, which can be passed via the form builder's `index` property as a URL parameter and hidden field.