lib/generators/ahoy/messages/templates/model_lockbox.rb.tt in ahoy_email-2.1.2 vs lib/generators/ahoy/messages/templates/model_lockbox.rb.tt in ahoy_email-2.1.3
- old
+ new
@@ -1,8 +1,8 @@
class Ahoy::Message < ActiveRecord::Base
self.table_name = "ahoy_messages"
belongs_to :user, polymorphic: true, optional: true
- encrypts :to
+ <%= lockbox_method %> :to
blind_index :to
end