diff --git a/activestorage/lib/active_storage/service/gcs_service.rb b/activestorage/lib/active_storage/service/gcs_service.rb index 3a475073ca..f166aee07e 100644 --- a/activestorage/lib/active_storage/service/gcs_service.rb +++ b/activestorage/lib/active_storage/service/gcs_service.rb @@ -137,7 +137,7 @@ module ActiveStorage end def client - @client ||= Google::Cloud::Storage.new(config.except(:bucket)) + @client ||= Google::Cloud::Storage.new(**config.except(:bucket)) end end end