You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
Great add-on! However, when I save a document (docx or pdf) that goes to my Ruby on Rails Backend + DB (with the help of Paperclip), no matter what, the file name will ALWAYS be data. So, when I download the file, it is always unformatted. I always need to manually add the extension (say, data.docx) to the file for it to open in the proper program. Any idea on why this is happening? I tried customizing the filename in the model, but it will still always save as filename data.
Cheers
The text was updated successfully, but these errors were encountered:
Kotoriii
changed the title
Filename is always data in DB
Filename is always "data" in DB
Jan 8, 2018
You're right about that, as the file is currently serialized to base64 the file name is lost.
Although it might be possible to replace "data" with the filename in the update function, but I haven't tried that yet.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey there!
Great add-on! However, when I save a document (docx or pdf) that goes to my Ruby on Rails Backend + DB (with the help of Paperclip), no matter what, the file name will ALWAYS be
data
. So, when I download the file, it is always unformatted. I always need to manually add the extension (say, data.docx) to the file for it to open in the proper program. Any idea on why this is happening? I tried customizing the filename in the model, but it will still always save as filenamedata
.Cheers
The text was updated successfully, but these errors were encountered: