EppO/rolify — Issue #24: Aliases
Author: joshnuss
Created: 2011-11-10 22:10:01+00:00
State: open

Hey!

Would you consider aliasing the name of has_role() and has_no_role() methods?

i.e.

`user.grant(:moderator, Topic.first)`

reads a little better than

`user.has_role(:moderator, Topic.first)`

similarly:

`user.revoke(:moderator, Topic.first)`

reads a little better than

`user.has_no_role(:moderator, Topic.first)`