From e40091648b9fa3c75511422c5dc8d83bfe99421e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janko=20Marohni=C4=87?= Date: Mon, 23 Apr 2018 12:24:26 +0200 Subject: Remove warning that image will be loaded into memory This is not true anymore, the image will be downloaded into a temporary file in a streaming fashion. --- activestorage/app/models/active_storage/variant.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'activestorage/app/models') diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb index b880b8fbff..fcc831ee34 100644 --- a/activestorage/app/models/active_storage/variant.rb +++ b/activestorage/app/models/active_storage/variant.rb @@ -19,10 +19,10 @@ require "active_storage/downloading" # Rails.application.config.active_storage.variant_processor = :vips # # => :vips # -# Note that to create a variant it's necessary to download the entire blob file from the service. The larger -# the image, the more memory is used. Because of this process, you also want to be considerate about when the variant -# is actually processed. You shouldn't be processing variants inline in a template, for example. Delay the processing -# to an on-demand controller, like the one provided in ActiveStorage::RepresentationsController. +# Note that to create a variant it's necessary to download the entire blob file from the service. Because of this process, +# you also want to be considerate about when the variant is actually processed. You shouldn't be processing variants inline +# in a template, for example. Delay the processing to an on-demand controller, like the one provided in +# ActiveStorage::RepresentationsController. # # To refer to such a delayed on-demand variant, simply link to the variant through the resolved route provided # by Active Storage like so: -- cgit v1.2.3