• Oswaldo Ferreira's avatar
    Persist tmp snippet uploads · 63d52d83
    Oswaldo Ferreira authored
    It persist temporary personal snippets under
    user/:id namespaces temporarily while creating
    a upload record to track it. If an user gets removed
    while it's still a tmp upload, it also gets removed.
    If the tmp upload is sent, the upload gets moved to
    personal_snippets/:id as before. The upload record
    also gets updated to the new model type as well.
    63d52d83
uploads.rb 1.46 KB