Consistently Handle Errors with a ModelErrors Concern
💡
Trigger Warning! This approach may be considered controversial, especially since it touches on using exceptions for control flow.
This is a pattern you can use in your Rails projects to keep your controllers lean. It works especially well in Rai...
railscraft.hashnode.dev2 min read