I just use the right tool for the job, and in this place I do not think strong parameters is the right tool for the job.
I just use the right tool for the job, and in this place I do not think strong parameters is the right tool for the job.
The dry-rb approach isn't for me. That doesn't mean it's not going to resonate with a lot of others. (Clearly, it does)
To me, the Dry Schema approach feels unnecessarily heavy-handed and duplicates work that I would expect to be done in the model. Strong Parameters helps a bit with form data safety, but I'm not looking for anything else out of it. I'm expecting my models to validate and coerce those strings into something useful, and raise errors if the data is invalid. Dry Schema feels like an unnecessary layer in the middle. ¯\_(ツ)_/¯
Indeed, Rails pays the bills.
And pulling out companies from the trouble they are in due to common Rails misuse is still very rewarding.
Haven't yet figured out how to help companies deep into callback hell though. Might be non-solvable.