While developing a new Rails Application, I noticed the following deprecation warning in the console:
DEPRECATION WARNING: Active Storage's ImageProcessing transformer doesn't support :combine_options, as it always generates a single ImageMagick command. Passing :combine_options will not be supported in Rails 6.1.
This is also mentioned in the Rails 6 release notes:
Deprecate :combine_options in Active Storage's ImageProcessing transformer without replacement.
Now I'm wondering:
- What we are supposed to use in the future to be able to things such
as:
<%= image_tag @category.image.variant(combine_options: { resize_to_fill: [800,50] }, gaussian_blur: ['0x1.5']), class: "card-img-top" if @category.image.attached? %>
- What would be the reason for deprecating this functionality?