我是 Ruby on Rails 的新手,使用 Ahoy 跟踪我的应用程序中的访问和事件。我有 2 种不同的设计模型,如何设置Ahoy.user_method
每个模型?
我的设计模型是PlayerLog
和CoachLog
。我应该这样设置:
Ahoy.user_method = :true_current_player_log
Ahoy.user_method = :true_current_coach_log
谢谢!问候,古斯塔沃
我是 Ruby on Rails 的新手,使用 Ahoy 跟踪我的应用程序中的访问和事件。我有 2 种不同的设计模型,如何设置Ahoy.user_method
每个模型?
我的设计模型是PlayerLog
和CoachLog
。我应该这样设置:
Ahoy.user_method = :true_current_player_log
Ahoy.user_method = :true_current_coach_log
谢谢!问候,古斯塔沃