aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/encrypted_configuration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/encrypted_configuration.rb')
-rw-r--r--activesupport/lib/active_support/encrypted_configuration.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/encrypted_configuration.rb b/activesupport/lib/active_support/encrypted_configuration.rb
index c52d3869de..dab953d5d5 100644
--- a/activesupport/lib/active_support/encrypted_configuration.rb
+++ b/activesupport/lib/active_support/encrypted_configuration.rb
@@ -11,8 +11,9 @@ module ActiveSupport
delegate :[], :fetch, to: :config
delegate_missing_to :options
- def initialize(config_path:, key_path:, env_key:)
- super content_path: config_path, key_path: key_path, env_key: env_key
+ def initialize(config_path:, key_path:, env_key:, raise_if_missing_key:)
+ super content_path: config_path, key_path: key_path,
+ env_key: env_key, raise_if_missing_key: raise_if_missing_key
end
# Allow a config to be started without a file present