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 Jul 13, 2023. It is now read-only.
When a model has a Paperclip attachment attached to it, a column named <attachment_name>_file_name is created in the model. Is is possible for a record to not have the file extension in this column when saved? For instance, suppose the attachment is document. Then the corresponding column in the database would be document_file_name. Can the value of this column be something like Report, instead of something like Report.pdf? If it was saved as the former, is there a way to serve this file with the extension?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a model has a
Paperclip
attachment attached to it, a column named<attachment_name>_file_name
is created in the model. Is is possible for a record to not have the file extension in this column when saved? For instance, suppose the attachment isdocument
. Then the corresponding column in the database would bedocument_file_name
. Can the value of this column be something likeReport
, instead of something likeReport.pdf
? If it was saved as the former, is there a way to serve this file with the extension?The text was updated successfully, but these errors were encountered: