instance method
detach_one
Ruby on Rails 7.0.10
Since v7.0.10 PrivateSignature
detach_one()
No documentation comment.
Source
# File activestorage/lib/active_storage/attached/one.rb, line 81
def detach_one
Attached::Changes::DetachOne.new(name, record, attachment)
end
Defined in activestorage/lib/active_storage/attached/one.rb line 81
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::One