Exception: ActiveSupport::EncryptedConfiguration::InvalidKeyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/active_support/encrypted_configuration.rb

Instance Method Summary collapse

Constructor Details

#initialize(content_path, key) ⇒ InvalidKeyError

Returns a new instance of InvalidKeyError.



47
48
49
# File 'lib/active_support/encrypted_configuration.rb', line 47

def initialize(content_path, key)
  super "Key '#{key}' is invalid, it must respond to '#to_sym' from configuration in '#{content_path}'."
end