User impersonation in Rails with user_impersonate2 and Devise

A beginner talk proposed by Richard Cook

Do you use Devise for authentication in your Rails app and do you want a straightforward solution for enabling staff/administrative access to access-controlled resources in your app? Take a look at the user_impersonate or, my fork, user_impersonate2 gem. This allows any "staff" user to act as if he/she is any given regular user. I will present a short walkthrough describing how this gem works and how to incorporate it into a simple sample app.


Back to talks