看板 Ruby 關於我們 聯絡資訊
最近在練習Upload image 到 AWS S3 bucket by Paperclip gem, 似乎Paperclip doesn't let you upload directly to S3,是經由一個temp folder, 那麼是在哪裡去指定S3 bucket name, AWS_ACCESS_KEY_ID資訊呢? 謝謝賜教!! (Rails 4) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.10.42.52 ※ 文章網址: http://www.ptt.cc/bbs/Ruby/M.1395932645.A.F6A.html ※ 編輯: orthonormal 來自: 39.10.42.52 (03/27 23:18)
danny8376:https://github.com/thoughtbot/ 03/28 00:32
danny8376:paperclip#understanding-storage 03/28 00:32
danny8376:倒數第二段就是S3的資訊了... 03/28 00:34
orthonormal:By default, this location is : 03/28 22:04
orthonormal::rails_root/public/system/:class/:attachment 03/28 22:05
orthonormal:/:id_partition/:style/:filename 03/28 22:06
orthonormal:感謝 danny8376 03/28 22:06
johnlinvc:建議用fog 03/30 14:18
orthonormal:可以請問建議的觀點嗎? 先感謝建議! 03/30 22:09
johnlinvc:因為aws-sdk 的s3 很久沒更新了 03/30 22:24