Sha256: 0e68269f57c85e0f8b20502719d61a461ec2c52a913b8a5203741cb3d22ef75b

Contents?: true

Size: 183 Bytes

Versions: 5

Compression:

Stored size: 183 Bytes

Contents

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

  belongs_to :user, polymorphic: true, optional: true

  <%= lockbox_method %> :to
  blind_index :to
end

Version data entries

5 entries across 5 versions & 1 rubygems

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