TheRole/TheRoleApi

View on GitHub
lib/generators/the_role/USAGE

Summary

Maintainability
Test Coverage
---------------------------------------
TheRole
---------------------------------------

!!! Description:

  This generators helps to install TheRole gem into your Application

!!! This text:

  > bundle exec rails g the_role help

!!! Generators:

  > bundle exec rails g the_role install
  - Install config file and models

  > bundle exec rails g the_role config
  - Install config file

  > bundle exec rails g the_role models
  - Install models

  > bundle exec rails g the_role controllers
  - Install controllers

  > bundle exec rails g the_role locales
  - Install locales

!!! Rake Tasks:

  > rake db:the_role:admin
  - Create Admin Role

!!! Migrations:
  > bundle exec rake the_role_engine:install:migrations

---------------------------------------
~ TheRole
---------------------------------------