Like an ActiveStorage::Variant
, but keeps detail about the variant in the database as an ActiveStorage::VariantRecord
. This is only used if `ActiveStorage.track_variants` is enabled.
Namespace
- MODULE ActiveRecord
- MODULE ActiveStorage
- CLASS ActiveStorage::VariantWithRecord