janko-m/paperclip-dropbox — pull request #9 by grantovich (2012-11-21 19:42:59+00:00)
Title: Fix breakage with file extensions not 3 or 4 chars

I ran into an issue where attempting to attach a file with an extension that wasn't 3 or 4 characters long would always fail with a "can't convert nil into String" error. I fixed this and added some test coverage to the relevant method.