I'm looking for a solution or strategies for viewing and managing related records in a single view

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Cocoon

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

  • You can use the Cocoon gem to have nested stuff that can be all posted back at once and update multiple related tables. Necessary setup includes on the models having appropriate accepts_nested_attributes_for entries for the various has_many associations that would link to your sub-forms.

  • brick

    Auto-generate models, views, controllers, and routes in a Rails app based on database structure (by lorint)

  • Another option -- although it doesn't show multiple related forms on the same page -- is a gem I've built called The Brick. I only mention it because it's fairly easy to see related tables, even through multiple layers of has_many :through or with polymorphic associations and all kinds of nutty stuff. In time I plan to enhance that gem to do more nested forms kinds of things, much like you describe. Probably be a few months until I can get that kind of thing working.

  • 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