Fix ahoy tracking and visits

This commit is contained in:
Stella Rouzi 2018-03-18 10:57:39 +02:00
parent 1e9765c163
commit e3daa31ef3
6 changed files with 38 additions and 21 deletions

View file

@ -2,6 +2,7 @@
module Ahoy
class Event < ApplicationRecord
include Ahoy::QueryMethods
self.table_name = 'ahoy_events'
belongs_to :visit