Skip to content

Grinding Gears

Tales of code crunching from the FreeAgent Engineering team

  • Development
  • Data & ML
  • Infrastructure
  • Mobile
  • Tooling
  • Security
  • Culture
  • Careers

Persisting nested form attribute indexes through Turbo updates

Posted by georgebaker on 8 January 2026

Introduction We recently encountered an interesting problem when using Turbo Streams to update part of a complex nested form in FreeAgent’s main Ruby on Rails web application. For those unfamiliar, nested forms allow a user to enter data relating to both a main parent object and its associated objects. This could be, for example, a contact form which also supports creating and editing multiple associated addresses. To illustrate the problem… Continue reading

➼ Read other posts about ruby on rails or software engineering

We're totally hiring!

See our current engineering vacancies

Built with ❤️ by the FreeAgent team.