Imagine you have a version with :from_version
:
class MyUploader < CarrierWave::Uploader::Base
version :thumb do
process resize_to_fill: [280, 280]
end
version :small_thumb, from_version: :thumb do
process resize_to_fill: [20, 20]
end
end
In this case, when you call recreate_versions!(:small_thumb)
, both :small_thumb
and :thumb
versions will be recreated.