aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_storage_overview.md
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-06-06 22:24:46 -0400
committerGeorge Claghorn <george@basecamp.com>2018-06-06 22:24:46 -0400
commit35730055174c3b4b4dd2b08fc743e425310d5131 (patch)
treec70133f143ce12efe475d9c6feb8acc345903401 /guides/source/active_storage_overview.md
parent63e35a1323b6a9b7ad7c90217116cdc99a45da1d (diff)
downloadrails-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/source/active_storage_overview.md')
-rw-r--r--guides/source/active_storage_overview.md2
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"