class

ActiveStorage::VariantWithRecord

v7.0.0 - Show latest stable - Superclass: Object

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.

Attributes

[R]blob
[R]variation

Files

  • activestorage/app/models/active_storage/variant_with_record.rb