Skip to content

Commit

Permalink
Merge pull request rails#51739 from viralpraxis/fix-read-ecrypted-sec…
Browse files Browse the repository at this point in the history
…rets-deprecation-warning-quoting

Fix `config.read_encrypted_secrets` deprecation warning quoting
  • Loading branch information
yahonda authored May 6, 2024
2 parents 942e05b + f36ad6a commit f6fd15c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions railties/lib/rails/application/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6fd15c

Please sign in to comment.