the-teacher/the_role — pull request #30 by jordansexton (2013-08-21 04:30:26+00:00)
Title: Changes to TheRole to make it more developer-configurable

I ran into trouble configuring TheRole to work with my application. For example, I wanted to use UserRole as the role class (because of an existing :user_roles table) and not Role, I wanted to call :the_role attribute and corresponding database column just :role or :permissions.

I made corresponding changes to the code to enable this. I tried not to change anything that falls to style or taste, except my IDE removed some trailing whitespace. I haven't written tests yet, but lease let me know if you're interested in incorporating these changes and I definitely will!

-- Jordan