is it possible to use Paperclip without a model? I just need the ability for an admin user to upload a pdf to a specific dir and that pdf can be overwritten when a more current pdf is uploaded.
I'm on rails 2.3.5.开发者_如何学Python
Thanks.
What's the problem with introducting a PDF model to use? It's easy enough.
If you don't want that model, then don't use paperclip and save the attachments yourself, they come in as instances of TempFile
.
精彩评论