David Kimura PRO said over 2 years ago on Roles from Scratch :
The Rolify gem is great if the complexity is needed. Otherwise, I feel like this is a simple enough implementation that would accomplish many use cases as well as not introduce another dependency.