David Kimura PRO said over 4 years ago on Rails dynamic role management :
Did you want to see this from scratch or is there a gem in mind?