method

without_encryption

rails latest stable - Class: ActiveRecord::Encryption::Contexts
without_encryption(&block)
public

Runs the provided block in an encryption context where encryption is disabled:

  • Reading encrypted content will return its ciphertexts.

  • Writing encrypted content will write its clear text.