Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
to_param
-> id
to support the.find
method properly.Devise.masquerade_storage_method = :session
:session
as default method to store masqueraded usercache
(Rails.cache
) is optionable now