From 35730055174c3b4b4dd2b08fc743e425310d5131 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Wed, 6 Jun 2018 22:24:46 -0400 Subject: Escape newlines in the GCS private key for valid YAML [ci skip] --- guides/source/active_storage_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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" -- cgit v1.2.3