diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-06 15:35:58 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-06 15:35:58 +0200 |
commit | 6de714a0ea755caafe5758e232582573ac9966a4 (patch) | |
tree | bcf94af178584b5b6d9518d26d5436bac1cb1e2e | |
parent | 0ed18d9671ea7189e737be3d9f7b9f915c31c390 (diff) | |
download | rails-6de714a0ea755caafe5758e232582573ac9966a4.tar.gz rails-6de714a0ea755caafe5758e232582573ac9966a4.tar.bz2 rails-6de714a0ea755caafe5758e232582573ac9966a4.zip |
Remember to add streaming
-rw-r--r-- | lib/active_storage/service/gcs_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/active_storage/service/gcs_service.rb b/lib/active_storage/service/gcs_service.rb index 18ec1de133..c2f520d996 100644 --- a/lib/active_storage/service/gcs_service.rb +++ b/lib/active_storage/service/gcs_service.rb @@ -13,6 +13,7 @@ class ActiveStorage::Service::GCSService < ActiveStorage::Service bucket.create_file(io, key) end + # FIXME: Add streaming when given a block def download(key) io = file_for(key).download io.rewind |