instance method
purge
Ruby on Rails 8.0.4
Since v5.2.8.1Directly purges the attachment (i.e. destroys the blob and attachment and deletes the file on the service).
Source
# File activestorage/lib/active_storage/attached/one.rb, line 13
delegate :purge, to: :purge_one
Defined in activestorage/lib/active_storage/attached/one.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::One