Sha256: 6952cfc6611bbaf7d00fb156a46029d6c2d8a84cba9b27535d3224756cf09c20
Contents?: true
Size: 205 Bytes
Versions: 4
Compression:
Stored size: 205 Bytes
Contents
module Ahoy class Message < ActiveRecord::Base self.table_name = "ahoy_messages" belongs_to :user, (ActiveRecord::VERSION::MAJOR >= 5 ? {optional: true} : {}).merge(polymorphic: true) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ahoy_email-1.0.3 | app/models/ahoy/message.rb |
ahoy_email-1.0.2 | app/models/ahoy/message.rb |
ahoy_email-1.0.1 | app/models/ahoy/message.rb |
ahoy_email-1.0.0 | app/models/ahoy/message.rb |