Simply put, Fences is a easy way to implement authorization in your Rails application.
1. Run this command:
2. Add ‘fencable’ to your user model.
class User < ActiveRecord::Base
3. Run this command:
./script/generate allowance some_role
4. Run your migrations.
We hope to have some code examples coming very soon.
Copyright © 2009 CommonThread, released under the MIT license.