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. |
||
---|---|---|
.. | ||
assets/javascripts | ||
controllers | ||
javascript/activestorage | ||
jobs/active_storage | ||
models/active_storage |