• 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
snippets_controller_spec.rb 18.7 KB