I'm new to Ruby on Rails, using Ahoy to track visits and events in my app. I have 2 different devise models, how do I set up Ahoy.user_method
to each one?
My devise models are PlayerLog
and CoachLog
. Should I set this up like this:
Ahoy.user_method = :true_current_player_log
Ahoy.user_method = :true_current_coach_log
Thanks! Regards, Gustavo