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!

Dude Policy - gem for policy objects from perspective of user

Dude Policy - policy objects in Ruby on Rails application from perspective of current_user/current_account.

example: current_user.dude.able_to_edit_article?(article)

https://github.com/equivalent/dude_policy

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