form-object-patterns
CommunityBuild robust Rails forms with modular objects.
AuthorThibautBaissac
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Complex Rails forms across multiple models or non-persisted data are hard to manage with plain ActiveRecord forms, leading to scattered validations and brittle controllers.
Core Features & Use Cases
- Multi-model registration and update forms that coordinate several models in a single flow
- Wizard-style multi-step forms and non-persisted or virtual attributes handling
- A structured TDD-first workflow with a base ApplicationForm to simplify validations and persistence
- Real-world examples include multi-model signups, search forms, and wizard setups
Quick Start
Define a new form object in app/forms, write specs first (RED), implement the form, and run the tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: form-object-patterns Download link: https://github.com/ThibautBaissac/rails_ai_agents/archive/main.zip#form-object-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.