RubyGems.org

role_model

0.8.1

Ever needed to assign roles to a model, say a User, and build conditional behaviour on top of that? Enter RoleModel -- roles have never been easier! Just declare your roles and you are done. Assigned roles will be stored as a bitmask.

installgem install role_model
Authors

Martin Rehfeld

71,131 total downloads 34,719 for this version
Owners

102c186d329cadf098b9ef8e97ffc9ff

Gemfile
gem 'role_model', '~> 0.8.1'
Versions
  1. 0.8.1 October 29, 2012 (12 KB)
  2. 0.8.0 October 29, 2012 (12 KB)
  3. 0.7.1 May 13, 2012 (11 KB)
  4. 0.7.0 May 1, 2011 (11 KB)
  5. 0.6.0 October 9, 2010 (10.5 KB)
Show all versions (12 total)