Sha256: 363e29f0ae580a232da637f51aa76bde77ba305f752a09fbd6d414ae332c326e
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
module Ahoy class Event < ActiveRecord::Base self.table_name = "ahoy_events" belongs_to :visit belongs_to :user<% if options["database"] != "postgresql" %> serialize :properties, JSON<% end %> end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ahoy_matey-1.1.1 | lib/generators/ahoy/stores/templates/active_record_event_model.rb |
ahoy_matey-1.1.0 | lib/generators/ahoy/stores/templates/active_record_event_model.rb |