lib/generators/authtrail/templates/model_lockbox.rb.tt in authtrail-0.4.2 vs lib/generators/authtrail/templates/model_lockbox.rb.tt in authtrail-0.4.3

- old
+ new

@@ -1,8 +1,8 @@ class LoginActivity < ApplicationRecord belongs_to :user, polymorphic: true, optional: true - encrypts :identity, :ip + <%= lockbox_method %> :identity, :ip blind_index :identity, :ip before_save :reduce_precision # reduce precision to city level to protect IP