mirror of https://github.com/rails/rails
6ecb53cf92
This follows up on https://github.com/rails/rails/pull/51030, that introduces a behaviour change for previewable attachments that don't specify any variants at all or no variants that require pre-processing via `TransformJob`. Before, when no variant required pre-processing, Attachment#transform_variants_later didn't do anything. Now, a `ActiveStorage::PreviewImageJob` is enqueued with the attachment's blob and a empty array. |
||
---|---|---|
.. | ||
analyze_job_test.rb | ||
preview_image_job_test.rb | ||
purge_job_test.rb | ||
transform_job_test.rb |