When I upload a photo, my model fails validation, err well even without any validations I\'m returned this error:
/tmp/stream20100103-13830-ywmerx-0 is not r
Just to say, you can also have this error message for what it means.
In my case the file size was 0 bytes length because I forgot to flush it after writing it from a Zip, and passing this resource to Paperclip.
It might be interesting to check that you can actually open the file with your preferred viewer before reading the other answer from this thread :)