method

encrypt

rails latest stable - Class: ActiveRecord::Encryption::ReadOnlyNullEncryptor
encrypt(clean_text, key_provider: nil, cipher_options: {})
public

No documentation available.

# File activerecord/lib/active_record/encryption/read_only_null_encryptor.rb, line 11
      def encrypt(clean_text, key_provider: nil, cipher_options: {})
        raise Errors::Encryption, "This encryptor is read-only"
      end