lib/generators/ahoy/messages/templates/mongoid_lockbox.rb.tt in ahoy_email-2.1.2 vs lib/generators/ahoy/messages/templates/mongoid_lockbox.rb.tt in ahoy_email-2.1.3
- old
+ new
@@ -9,8 +9,8 @@
field :subject, type: String
field :sent_at, type: Time
index({to_bidx: 1})
- encrypts :to
+ <%= lockbox_method %> :to
blind_index :to
end