Is there an easy gem or workflow to manage form fields for `has_many`?

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • Cocoon

    Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms

    On a previous project I used Cocoon which makes it simple to add a button that adds an additional set of fields for a nested object.

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • nested_form

    Discontinued Rails plugin to conveniently handle multiple models in a single form.

    Anyway, there's also https://github.com/ryanb/nested_form it's no longer developed and uses jquery, but works on rails up to 6.1 (haven't tested it on 7)

  • vanilla-nested

    Rails dynamic nested forms using vanilla JS

  • abyme

    abyme is a modern take on handling dynamic nested forms in Rails 6+ using StimulusJS.

    I wrote a gem for precisely this purpose :) Super easy setup, and cool generators. Have a look at the docs https://github.com/eki-177/abyme

  • nested_form_fields

    Dynamically add and remove nested has_many association fields in a Ruby on Rails form

    We are using simple forms in a turbo application. We are making use of stimuli-rails-nested-form controller (https://www.stimulus-components.com/docs/stimulus-rails-nested-form/) and a little helper taken from https://github.com/ncri/nested_form_fields & adapted to our use case:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Rails 7.1: Dockerfiles, BYO Authentication, More Async Queries, and More

    2 projects | news.ycombinator.com | 5 Oct 2023
  • Rails nested form (new gem with Stimulus)

    2 projects | dev.to | 18 Jun 2023
  • Collection of Hotwire examples by thoughtbot

    1 project | /r/rails | 18 Apr 2023
  • Collection of Hotwire Examples by Thoughtbot

    1 project | news.ycombinator.com | 18 Apr 2023
  • There is a release date for Rails 7.1?

    1 project | /r/ruby | 13 Mar 2023

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?