Sha256: 55a5fb40a91ffaf919b236b240d438e66795455f15c309bf95fdd427b124777d

Contents?: true

Size: 173 Bytes

Versions: 7

Compression:

Stored size: 173 Bytes

Contents

class Ahoy::Message < ActiveRecord::Base
  self.table_name = "ahoy_messages"

  belongs_to :user, polymorphic: true, optional: true

  encrypts :to, deterministic: true
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ahoy_email-2.4.0 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.3.1 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.3.0 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.2.0 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.1.3 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.1.2 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt
ahoy_email-2.1.1 lib/generators/ahoy/messages/templates/model_activerecord.rb.tt