From 4e76a971748e27f77487e792b0520a7b11456a74 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Sun, 10 Sep 2023 12:32:44 -0400 Subject: [PATCH] Update description for `require_master_key` setting --- .../rails/app/templates/config/environments/production.rb.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index 3ceac3b57fb49..042c50ba1315d 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -18,8 +18,8 @@ Rails.application.configure do config.action_controller.perform_caching = true <%- end -%> - # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] - # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). + # Ensures that a master key has been made available in ENV["RAILS_MASTER_KEY"], config/master.key, or an environment + # key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files). # config.require_master_key = true # Enable static file serving from the `/public` folder (turn off if using NGINX/Apache for it).