instance method
purge
Ruby on Rails 7.0.10
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 11
delegate :purge, to: :purge_one
Defined in activestorage/lib/active_storage/attached/one.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::One