Active_record_encryption_deterministic_key //top\\ Jun 2026

: It must be a string with sufficient entropy. You can generate a suitable key by running bin/rails db:encryption:init in your terminal. Usage Context

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