Active Storage Variant With Record
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.
Methods
Attributes
[R] | blob | |
[R] | variation |
Class Public methods
new(blob, variation) Link
Instance Public methods
destroy() Link
Destroys record and deletes file from service.