class Ahoy::Event < ApplicationRecord
include Ahoy::QueryMethods self.table_name = "ahoy_events" belongs_to :visit belongs_to :user, optional: true<% if serialize_properties? %> serialize :properties, <%= serialize_options %><% end %>
end
class Ahoy::Event < ApplicationRecord
include Ahoy::QueryMethods self.table_name = "ahoy_events" belongs_to :visit belongs_to :user, optional: true<% if serialize_properties? %> serialize :properties, <%= serialize_options %><% end %>
end