3scale/issues-test — Issue #603: make the user role also accept a string
Author: HakubJozak
Created: 2012-02-10 18:13:34+00:00
State: open
Labels: chore

user.role = "admin" is not treated the same as user.role = :admin, e.g.
User model (app/models/user/roles.rb)
def admin?
role?(:admin)
end

Tasks

https://www.pivotaltracker.com/story/show/6169615