Fix for Errno::ENAMETOOLONG in Thumbnails
* Uses Paperclip's Tempfile instead of Ruby's in Thumbnail * Also includes a test for TempfileFactory to be sure it does not revert to similar behavior * In the tests, give the OS some wiggle room in the Tempfile name to ensure the error does not occur before we are ready for it. The wiggle room is needed because the randomized part of the name has a variable number of characters.
Showing
Please
register
or
sign in
to comment