Skip to content

Commit f36ad6a

Browse files
committed
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.
1 parent 2b14603 commit f36ad6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

railties/lib/rails/application/configuration.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,13 @@ def enable_reloading=(value)
350350
end
351351

352352
def read_encrypted_secrets
353-
Rails.deprecator.warn(`config.read_encrypted_secrets is deprecated and will be removed in Rails 7.3.`)
353+
Rails.deprecator.warn("'config.read_encrypted_secrets' is deprecated and will be removed in Rails 7.3.")
354354
end
355355

356356
def read_encrypted_secrets=(value)
357-
Rails.deprecator.warn(`config.read_encrypted_secrets is deprecated and will be removed in Rails 7.3.`)
357+
Rails.deprecator.warn("'config.read_encrypted_secrets=' is deprecated and will be removed in Rails 7.3.")
358358
end
359359

360-
361360
def encoding=(value)
362361
@encoding = value
363362
silence_warnings do

0 commit comments

Comments
 (0)