aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-11-07 09:06:23 -0500
committerGeorge Claghorn <george@basecamp.com>2017-11-07 09:06:23 -0500
commitdaf77db65d9d5e295ee3ba86605988875cb834e4 (patch)
treed1380f848b7b8039857a30c1e643a126f011d3ec /activestorage
parent52d60ec46c9eba98423acfce2680e76bdc1cab36 (diff)
downloadrails-daf77db65d9d5e295ee3ba86605988875cb834e4.tar.gz
rails-daf77db65d9d5e295ee3ba86605988875cb834e4.tar.bz2
rails-daf77db65d9d5e295ee3ba86605988875cb834e4.zip
Remove needless block parameter
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/lib/active_storage/service/s3_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/s3_service.rb b/activestorage/lib/active_storage/service/s3_service.rb
index 958b172efb..6957119780 100644
--- a/activestorage/lib/active_storage/service/s3_service.rb
+++ b/activestorage/lib/active_storage/service/s3_service.rb
@@ -85,7 +85,7 @@ module ActiveStorage
end
# Reads the object for the given key in chunks, yielding each to the block.
- def stream(key, &block)
+ def stream(key)
object = object_for(key)
chunk_size = 5.megabytes