Stop Fat Controllers: Rails Form Objects Explained
After this episode the viewer can build a form that spans two models with a plain Ruby form object, keep validations in one place, and keep the controller thin.
Prerequisites: demo-shop on episode-002-before, Rails 8.1, episode 001 (model validations)
Not covered: tests, nested attributes, styling
Source: https://github.com/webmatze/demo-shop (branches: episode-002-before / episode-002-after)