RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

rolify 3.2 is out - Role management library with resource scoping w/ Mongoid support

rolify gem allows you to manage the roles in your app easily and provides the ability to scope the role on a resource instance or class: user.add_role :moderator, Forum.find(3) It integrates smoothly with Devise and CanCan to build a full authentication/authorization stack

3.2 release includes new handy features like callbacks when roles are added/removed, helper methods on the resource class and the User class to find resources/users depending the roles they have, and lot more !

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in