class ActiveStorage::Attached::One

def detach_one

def detach_one
  Attached::Changes::DetachOne.new(name, record, attachment)
end