阅读背景:

如何访问使用Paperclip / Ruby on Rails上传的文件的原始内容?

来源:互联网 

I'm using Paperclip / S3 for file uploading. I upload text-like files (not .txt, but they are essentially a .txt). In a show controller, I want to be able to get the contents of the uploaded file, but don't see contents as one of its attributes. What can I do here?I'm using Paperclip / S3 for file uploading. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: