diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 451afe5cd5e70..8d87931b00a50 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -350,14 +350,13 @@ def enable_reloading=(value) end def read_encrypted_secrets - Rails.deprecator.warn(`config.read_encrypted_secrets is deprecated and will be removed in Rails 7.3.`) + Rails.deprecator.warn("'config.read_encrypted_secrets' is deprecated and will be removed in Rails 7.3.") end def read_encrypted_secrets=(value) - Rails.deprecator.warn(`config.read_encrypted_secrets is deprecated and will be removed in Rails 7.3.`) + Rails.deprecator.warn("'config.read_encrypted_secrets=' is deprecated and will be removed in Rails 7.3.") end - def encoding=(value) @encoding = value silence_warnings do