# ryanb/nested_form

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

Repository: https://github.com/ryanb/nested_form
Canonical: https://ross.abutalabs.com/products/nested_form
Language: Ruby
License: MIT
License Family: permissive
Archived: true
Last push: 2021-12-11T21:47:06+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6077, "days_push": 1726, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1780, forks 501 (observed 2026-08-28T04:05:35.383785+00:00)

## What it is
A Rails gem/plugin that simplifies managing multiple nested models within a single form using unobtrusive JavaScript (jQuery or Prototype). It provides helper methods like nested_form_for, link_to_add, and link_to_remove for dynamically adding and removing nested records.

## Use cases
- handle multiple models in a single Rails form
- dynamically add and remove nested records in a form
- manage has_many associations in one form
- build nested forms for parent-child models
- add and remove tasks under a project in one form

## When to choose
- you are maintaining a legacy Rails 2 or Rails 3 app that already uses nested forms
- you need simple add/remove links for nested attributes with jQuery or Prototype

## When to avoid
- you are starting a new Rails project - use cocoon or Rails' built-in accepts_nested_attributes_for with modern JS instead
- you are on Rails 4 or newer
- you need a maintained solution with support

## Facets
- artifact type: plugin
- maturity: abandoned
- function: form-handling, ui-components
- domain: web-development, frontend, developer-tools
- platform: ruby
- tags: rails, nested-forms, jquery, unmaintained, web-server

## Member repositories
- ryanb/nested_form (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.383785+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:24:36.729449+00:00, confidence not recorded.
  - readme: https://github.com/ryanb/nested_form (fetched 2026-08-28T04:05:35.383785+00:00, sha 32f5dbfc7424)
- Data as of 2026-08-30T08:39:29.467469+00:00.
