aboutsummaryrefslogtreecommitdiffstats
path: root/guides
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 /guides
parentca1296858788780dcb5497e86f66b56170cca279 (diff)
downloadrails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.gz
rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.tar.bz2
rails-f01e2498905ec057e6c8872d15f8dea18d4cbde8.zip
Rename ActiveStorage.processor to .variant_processor
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_storage_overview.md2
-rw-r--r--guides/source/configuring.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md
index f56db61538..c3fb5356d4 100644
--- a/guides/source/active_storage_overview.md
+++ b/guides/source/active_storage_overview.md
@@ -361,7 +361,7 @@ To switch to the Vips processor, you would add the following to
```ruby
# Use Vips for processing variants.
-config.active_storage.processor = :vips
+config.active_storage.variant_processor = :vips
```
Previewing Files
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index ec950b89cd..c98e9b719c 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -778,7 +778,7 @@ normal Rails server.
`config.active_storage` provides the following configuration options:
-* `config.active_storage.processor` accepts a symbol `:mini_magick` or `:vips`, specifying whether variant transformations will be performed with MiniMagick or ruby-vips. The default is `:mini_magick`.
+* `config.active_storage.variant_processor` accepts a symbol `:mini_magick` or `:vips`, specifying whether variant transformations will be performed with MiniMagick or ruby-vips. The default is `:mini_magick`.
* `config.active_storage.analyzers` accepts an array of classes indicating the analyzers available for Active Storage blobs. The default is `[ActiveStorage::Analyzer::ImageAnalyzer, ActiveStorage::Analyzer::VideoAnalyzer]`. The former can extract width and height of an image blob; the latter can extract width, height, duration, angle, and aspect ratio of a video blob.