instance method
purge_later
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
purge_later()
Destroys the attachment and asynchronously purges the blob (deletes it from the configured service).
Source
# File activestorage/app/models/active_storage/attachment.rb, line 26
def purge_later
destroy
blob.purge_later
end
Defined in activestorage/app/models/active_storage/attachment.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attachment