diff options
author | George Claghorn <george@basecamp.com> | 2018-06-06 22:24:46 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-06-06 22:24:46 -0400 |
commit | 35730055174c3b4b4dd2b08fc743e425310d5131 (patch) | |
tree | c70133f143ce12efe475d9c6feb8acc345903401 /guides | |
parent | 63e35a1323b6a9b7ad7c90217116cdc99a45da1d (diff) | |
download | rails-35730055174c3b4b4dd2b08fc743e425310d5131.tar.gz rails-35730055174c3b4b4dd2b08fc743e425310d5131.tar.bz2 rails-35730055174c3b4b4dd2b08fc743e425310d5131.zip |
Escape newlines in the GCS private key for valid YAML [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_storage_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index 0c465d67cf..cb9acdadcf 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -160,7 +160,7 @@ google: type: "service_account" project_id: "" private_key_id: <%= Rails.application.credentials.dig(:gcs, :private_key_id) %> - private_key: <%= Rails.application.credentials.dig(:gcs, :private_key) %> + private_key: <%= Rails.application.credentials.dig(:gcs, :private_key).dump %> client_email: "" client_id: "" auth_uri: "https://accounts.google.com/o/oauth2/auth" |