User_Switch

When you use the "devise" gem. User_Switch can switch login user in a very simple way.

Just follow these steps:

  1. Add to Gemfile in development group and bundle: gem airbrake-local
  2. Run rails generate user_switch:install <PROJECT_NAME>
  3. Change the configuration in config/initializers/user_switch.rb
  4. That's it!