instance method
purge
Ruby on Rails 8.1.2
Since v5.2.8.1Directly purges each associated attachment (i.e. destroys the blobs and attachments and deletes the files on the service).
Source
# File activestorage/lib/active_storage/attached/many.rb, line 13
delegate :purge, to: :purge_many
Defined in activestorage/lib/active_storage/attached/many.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::Many