I've started working on a Rails project. I don't have any professional experience with Rails in particular.
Can you recommend any code bases I can read that meet these criteria?
Form objects aren’t very common, but I’ve found it to be a really great patten for simplifying code. Strong params and ActiveRecord methods are fine for simple updates, but as soon as you get to something more complicated (e.g. what if you want validations to apply only for certain users?) it just becomes a mess - and you need to decide whether to have fat controllers or models.
The idea is you put all the logic for parsing params and updating records into a form object. It keeps controllers and models skinny, and can easily be tested without having to go through a controller. The reform gem provides a few helpers that make them easy:
The best Rails codebases are the ones who have ample "vanilla" Ruby and just happen to use Rails alongside said Ruby.