I'm trying to log when an Admin is logging in and out as a User. My approach was to use rails callbacks in show and back actions in the masquerades controller, but when admin masquerades for few seconds, there are no logs, what you guys think is the best approach for it?
Hello.
I'm trying to log when an Admin is logging in and out as a User. My approach was to use rails callbacks in
show
andback
actions in the masquerades controller, but when admin masquerades for few seconds, there are no logs, what you guys think is the best approach for it?