Using state_machine with Authority
The state_machine gem is a great tool for putting business rules into your Ruby applications. But sometimes rules have exceptions. How do you handle those?
In this post, I’ll show you how my team has used state_machine together with Authority to allow certain people to make exceptions to the rules.
Post a comment