123456789_123456789_123456789_123456789_123456789_

Exception: ActiveSupport::EncryptedFile::MissingKeyError

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

.new(key_path:, env_key:) ⇒ MissingKeyError

[ GitHub ]

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

def initialize(key_path:, env_key:)
  super \
    "Missing encryption key to decrypt file with. " +
    "Ask your team for your master key and write it to #{key_path} or put it in the ENV['#{env_key}']."
end