instance method
detach
Ruby on Rails 8.0.4
Since v5.2.8.1Deletes the attachment without purging it, leaving its blob in place.
Source
# File activestorage/lib/active_storage/attached/one.rb, line 25
delegate :detach, to: :detach_one
Defined in activestorage/lib/active_storage/attached/one.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::One