instance method
purge
Ruby on Rails 6.1.7.10
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 56
Defined in activestorage/lib/active_storage/attached/many.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::Many