Sha256: 04a4ed4aaf376ff50b27ab83a50f139d14ba73e3c8554895fc5dd2dbbfe77a06

Contents?: true

Size: 252 Bytes

Versions: 7

Compression:

Stored size: 252 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ahoy_matey-5.3.0 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.2.1 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.2.0 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.1.0 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.0.2 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.0.1 lib/generators/ahoy/templates/active_record_event_model.rb.tt
ahoy_matey-5.0.0 lib/generators/ahoy/templates/active_record_event_model.rb.tt