ReUser is a gem. It provides your classes with a DSL for declaring and
testing for roles and permissions.
I wrote it because I couldn’t find anything to do the job of
roles in a syntax that I like. It is my first gem, and I am looking for
feedback, so please, fork from http://github.com/isaacsanders/reuser,
pull requests annotating ‘code smells’ and refactoring any bad code you
find. Try using it, let me know of things that feel like they should be
there, things that shouldn’t be there.
gem install reuser