123456789_123456789_123456789_123456789_123456789_

Exception: ActiveSupport::EncryptedFile::InvalidKeyLengthError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, RuntimeError
Instance Chain:
self, RuntimeError
Inherits: RuntimeError
  • ::Object
Defined in: activesupport/lib/active_support/encrypted_file.rb

Class Method Summary

Constructor Details

.newInvalidKeyLengthError

[ GitHub ]

  
# File 'activesupport/lib/active_support/encrypted_file.rb', line 24

def initialize
  super "Encryption key must be exactly #{EncryptedFile.expected_key_length} characters."
end