Tramway Engine for user management
Add this line to your application's Gemfile:
gem 'tramway-user'
gem 'validates'
And then execute:
$ bundle
Or install it yourself as:
$ gem install tramway-user
Tramway::User::User
has scope admins
which returns all admins from the app.
Edit roles for Tramway::User::User
model - doc
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.