Fix config.read_encrypted_secrets deprecation warning quoting

Commit 0c76f17 deprecated `Rails::Application::Configuration#read_encrypted_secrets`
but, suprisingly, deprecation used backticks instead of normal quoting.
This commit is contained in:
Yaroslav Kurbatov 2024-05-05 17:39:17 +03:00
parent 2b14603273
commit f36ad6ad5b
No known key found for this signature in database
GPG Key ID: 314FA91DCAF6C755
1 changed files with 2 additions and 3 deletions

View File

@ -350,14 +350,13 @@ module Rails
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