I had a terrible time lately migrating between paperclip 2 and 3. It turned out that paperclip in version 3.x changes some characters into underline ‘_’ sign.