Fix ahoy tracking and visits

This commit is contained in:
Stella Rouzi 2018-03-18 10:57:39 +02:00 committed by James Mason
parent b54e3f7ab9
commit 3bb73f27cf
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