Our great sponsors
-
Cocoon
Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms
-
brick
Auto-generate models, views, controllers, and routes in a Rails app based on database structure (by lorint)
-
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.
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.
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.