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. |
||
---|---|---|
.. | ||
analyzer | ||
controllers | ||
database | ||
dummy | ||
fixtures | ||
jobs | ||
models | ||
previewer | ||
service | ||
template | ||
urls | ||
engine_test.rb | ||
fixture_set_test.rb | ||
javascript_package_test.rb | ||
migrations_test.rb | ||
test_helper.rb |