I'm trying to use the jquery file upload plugin in my rails app to upload images, documents, and pdfs. I changed the accepted file types to accept pdfs etc. However, when I click 'Start upload', I get the following error (only with .pdf, .docx, and .doc):
Error emptly file upload result
If I try to upload a .txt, .png, .jpg, or .gif, it works fine. I tried increasing the max file size and also creating a .pdf file with 1 word and still got the same error. I've been searching online, I've mostly seen people suggest using the gd-extension for php, but I have a rails application so is there a rails alternative for gd-extension?
Thanks