From 7f7ed5ed9b4f39a8d05313533dfd3bbddf1f612b Mon Sep 17 00:00:00 2001 From: Santiago Bartesaghi Date: Sat, 13 Feb 2021 15:21:58 -0300 Subject: [PATCH] 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 6dd4562656359..b95be83baf134 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -235,7 +235,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")