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)
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 - policy objects in Ruby on Rails application from perspective of current_user/current_account.
example: current_user.dude.able_to_edit_article?(article)
Post a comment