UPDATE: I actually think there’s not much reason for this to exist anymore. The switch_user gem is more maintained and seems to work well, so I’d go check it out at https://github.com/flyerhzm/switch_user
UPDATE: I actually think there’s not much reason for this to exist anymore. The switch_user gem is more maintained and seems to work well, so I’d go check it out at https://github.com/flyerhzm/switch_user