Sha256: 4f2d6b89cde585b38d8cb127465fa276885ab37ccce463dab46af188c47916ed
Contents?: true
Size: 303 Bytes
Versions: 6
Compression:
Stored size: 303 Bytes
Contents
class Ahoy::Event < <%= rails5? ? "ApplicationRecord" : "ActiveRecord::Base" %> include Ahoy::QueryMethods self.table_name = "ahoy_events" belongs_to :visit belongs_to :user<%= rails5? ? ", optional: true" : nil %><% if properties_type == "text" %> serialize :properties, JSON<% end %> end
Version data entries
6 entries across 6 versions & 1 rubygems