Scaffold User

rails generate scaffold User name password_digest
Migrate

rake db:migrate
Configure user model
Add gem bcrypt-ruby
Configure user controller for password
Generate controller Sessions

rails generate controller Sessions new create destroy
Generate controller Admin

rails generate controller Admin index
Configure authorize
Refactoring for rails 4 and fix bug
Configure authorizetion and session
Add style for admin controller
Refactoring translations
Rebuild User model

Сhange name column to email
Add permission
Add seed for permissions and users
Add permissions model
Fix fail in seed data
Add field permission for admin
Refactoring in permission and user
Generate Manager controller

rails generate controller Manager index show find
Configure manager