This is really old rails stuff people may not know about. ActiveModel has been around since Rails 3 a decade ago. :)
Rails 7 adds the helpful ActiveModel::API, which includes the modules needed for ActionView integration. Before, it was a bit of trial and error.
I 100% agree - there are several corners of Rails that - for whatever reason - have not become general knowledge despite being useful and widely-applicable to common problems.