Will Mitbrodt


10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Tracking Metrics with Ahoy and Blazer Discussion

Hey Chris, does ahoy_matey only integrate with the devise User model? My colleague and I have been attempting to integrate it with another model called Product -- ignoring the User model altogether. Changing t.references :user to t.references :product.

Our app does not have user auth, and we just want to track visits and events in our Product model.


Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.