Skip to content

Add form object#13

Open
bknoles wants to merge 1 commit intocreate-topicsfrom
form-object
Open

Add form object#13
bknoles wants to merge 1 commit intocreate-topicsfrom
form-object

Conversation

@bknoles
Copy link
Collaborator

@bknoles bknoles commented Nov 19, 2025

This PR just shows an alternate implementation for #11 .

Instead of using nested attributes, we have a dedicated form object. Our initial implementation is cleaner, but in the real world you might encounter the need for a more complicated form with complex validations or that deals with many models. The takeaway is the same... Inertia plays well with the way we like to do things in Rails!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant