SimpleUser

Manage users and admins with Devise and Omniauth-Facebook.

Make avaiable to your users for loggin with Devise or Facebook, and manage them and your admins. Each admin is related to roles with Rolify, and manages authorization with CanCan.

Installation

  1. Add to your gemfile: gem 'simple_user'

  2. Run bundle

  3. Execute: rails generate simple_user:install

  4. Run migrations: rake db:migrate

  5. Run seeds: rake db:seed

  6. Add to your routes.rb: mount SimpleUser::Engine => "/simple_user", :as => "simple_user"

  7. Add to your application.js: //= require simple_user/application

  8. Watch the test/dummy for an example of the links

TODO

  1. List the methods for the links

  2. Explain integration with models of the parent app

  3. Integrate Twitter

  4. Ingrate Google

  5. Remove unnecessary files and codes (rake task, omniauth, …)