From 456cda62f1b82736f02504e81a68242bdea98f64 Mon Sep 17 00:00:00 2001 From: Matt Moretti Date: Fri, 29 May 2026 14:39:02 -0400 Subject: [PATCH] Require credentials key in production `lib/application_secrets.rb` assumes they'll be there in 'prod' --- config/credentials.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/credentials.rb b/config/credentials.rb index 4b58275..968e8ed 100644 --- a/config/credentials.rb +++ b/config/credentials.rb @@ -6,5 +6,5 @@ config_path: File.expand_path('dev-training-web.yml.enc', __dir__), key_path: File.expand_path('dev-training-web.key', __dir__), env_key: 'MASTER_KEY', - raise_if_missing_key: false + raise_if_missing_key: ENV['RACK_ENV'] == 'production' )