Closed DanielKehoe closed 10 years ago
Using ActiveRecord Enum to manage roles, I can set a role like this:
user = User.create() user.admin!
Would you consider adding a similar method (using a "bang") to Royce, as an alias for add_role? Is it possible?
add_role
Added in commit ee8ca8e. Thanks for the suggestion. This is a great idea!
Using ActiveRecord Enum to manage roles, I can set a role like this:
Would you consider adding a similar method (using a "bang") to Royce, as an alias for
add_role
? Is it possible?