aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/variant.rb
diff options
context:
space:
mode:
authorJanko Marohnić <janko.marohnic@gmail.com>2018-04-22 23:40:42 +0200
committerJanko Marohnić <janko.marohnic@gmail.com>2018-04-22 23:40:42 +0200
commitf01e2498905ec057e6c8872d15f8dea18d4cbde8 (patch)
tree1bea7946fd93571a3e12841409179571b05495ce /activestorage/app/models/active_storage/variant.rb
parentca1296858788780dcb5497e86f66b56170cca279 (diff)
downloadrails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.gz
rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.bz2
rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.zip
Rename ActiveStorage.processor to .variant_processor
Diffstat (limited to 'activestorage/app/models/active_storage/variant.rb')
-rw-r--r--activestorage/app/models/active_storage/variant.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index 1cae2078f0..450ce3677f 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -13,10 +13,10 @@ require "active_storage/downloading"
# {libvips}[http://jcupitt.github.io/libvips/] processor operated by the {ruby-vips}[https://github.com/jcupitt/ruby-vips]
# gem).
#
-# Rails.application.config.active_storage.processor
+# Rails.application.config.active_storage.variant_processor
# # => :mini_magick
#
-# Rails.application.config.active_storage.processor = :vips
+# 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 and load it