mcrowe/roleable — pull request #2 by mcrowe (2012-05-09 06:30:18+00:00)
Title: Allow the subject class name to be customized

Instead of requiring the subject class to be User, allow customization of the class name:

e.g. `config/initializers/roleable.rb`:

```ruby
Roleable.configure do |config|
config.subject_class_name = 'Principle'
end
```

Incorporates a lot of @aoman's ideas from his pull request, but uses an initializer configuration instead of allowing options to be defined in the Subject/Resource classes.