From 43870f3ec5ad6588ca61fb91349215b7295ad693 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Mon, 15 Feb 2021 12:01:52 -0600 Subject: [PATCH] Merge pull request #41436 from santib/fix-active-storage-sharpening-docs Fix Upgrading guides [ci skip] --- guides/source/upgrading_ruby_on_rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 2d693d9dd31ca..3049b5f6ac0ec 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -185,7 +185,7 @@ The default HTTP status code used in `ActionDispatch::SSL` when redirecting non- When processing variants in Active Storage, it's now required to have the [image_processing gem](https://github.com/janko-m/image_processing) bundled instead of directly using `mini_magick`. Image Processing is configured by default to use `mini_magick` behind the scenes, so the easiest way to upgrade is by replacing the `mini_magick` gem for the `image_processing` gem and making sure to remove the explicit usage of `combine_options` since it's no longer needed. -That said, it's recommended to change the calls to raw `resize` for `image_processing` macros as they also sharpen the thumbnail after resizing. For example, instead of: +For readability, you may wish to change raw `resize` calls to `image_processing` macros. For example, instead of: ```ruby video.preview(resize: "100x100")