instance method
purge_dependent_blob
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
purge_dependent_blob()
No documentation comment.
Source
# File activestorage/app/models/active_storage/attachment.rb, line 225
def purge_dependent_blob
if dependent == :purge_later
blob&.purge_later
elsif dependent == :purge
blob&.purge
end
end
Defined in activestorage/app/models/active_storage/attachment.rb line 225
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attachment