rbac权限系统探索

先安装restful_authentication



git:github.com/technoweenie/restful-authentication.git

git clone git:github.com/stffn/declarative_authorization.git

ruby script/generate authenticated user sessions —rspec
rake db:migrate

目前生成的rspec测试还通不过,需要继续研究。
若加上—include-activation则有电子邮件的激活。其它选项请看git 上的 readme


你可能感兴趣的:(git,Ruby,rspec)