Active_record_encryption_deterministic_key: [verified]

To utilize this key, the model must specify deterministic: true .

class User < ApplicationRecord encrypts :email, deterministic: true end active_record_encryption_deterministic_key

Once configured, you can enable deterministic mode on specific attributes using the deterministic: true option. To utilize this key, the model must specify

To explicitly define a separate deterministic key, modify config/application.rb or the appropriate environment config: To utilize this key