This is a rails v4.0.2 app and can be used as a starter-kit for your own app.
Points to ponder:
- Devise + Cancan for authorization and role based authentication.
- Bootstrap-3 integration
- Dynamic role creation functionality.
- HAML used as templating engine.
bundle rake db:setup
This will install the gems specified in Gemfile and create the tables in the database (please change the config/database.yml to set your configuration)
This deadly combo is used for user authorization and authentication.
Currently only admin users are given all the access. You can add up more access definitions in app/models/ability.rb
Default user is created. See config/application.yml for more settings.
You can add as many roles you want and define its access scopes in Ability class. Currently only admin users are given the access of role creation.
- Add the test coverage.
Use this code as you want! ENJOY!!