instance method
purge_later
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
purge_later()
Purges the attachment through the queuing system.
Source
# File activestorage/lib/active_storage/attached/one.rb, line 68
def purge_later
if attached?
attachment.purge_later
write_attachment nil
end
end
Defined in activestorage/lib/active_storage/attached/one.rb line 68
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::One