beyond-z/beyondz-platform — pull request #210 by adamdruppe (2014-09-10 02:54:52+00:00)
Title: resume upload in the face of validation failure

If validation failed, Paperclip would discard the attachment. This is bad for the user because they'd have to upload again and we might be stuck with a dead link if they don't. This always saves without validating at least once to avoid that problem, then validates afterward to still generate the error messages.