{"issue":{"created_at":"2011-11-27T17:21:28Z","state":"open","updated_at":"2011-11-28T03:55:41Z","user":{"gravatar_id":"19e786a2a74377ff6e052d87fd8d1fa8","id":9004,"url":"https://api.github.com/users/xdite","login":"xdite","avatar_url":"https://secure.gravatar.com/avatar/19e786a2a74377ff6e052d87fd8d1fa8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"我試著在 ruby-taiwan 上傳圖片，雖然有吐回來上傳網址。\r\n\r\n但是給出的 link 實際直連是 404 not found，請問如果上傳有什麼我特別需要注意的設定地方嗎？\r\n \r\nthanks","assignee":null,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2361025,"number":74,"title":"無法上傳圖片？","closed_at":null,"html_url":"https://github.com/huacnlee/ruby-china/issues/74","milestone":null,"url":"https://api.github.com/repos/huacnlee/ruby-china/issues/74"},"action":"created","comment":{"created_at":"2011-11-28T03:55:41Z","updated_at":"2011-11-28T03:55:41Z","user":{"gravatar_id":"ecdf9a83234e21743d77b75fd308b929","id":8608,"url":"https://api.github.com/users/siuying","login":"siuying","avatar_url":"https://secure.gravatar.com/avatar/ecdf9a83234e21743d77b75fd308b929?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"我在 ruby-hk 也遇到同樣問題，原本 code base 是用 mongodb grid-fs 再直接在 rails gridfs_controller stream 結果。\r\n\r\n在 route.rb 裡有 define path 去這個 gridfs ，但裡面的 path 是錯的。可參考這個 commit：\r\n\r\nhttps://github.com/siuying/ruby-china/commit/a522f774f411a7c95df790c52242bf9ee92e064f\r\n\r\n我用這個 commit 後就可以正確上載了，但似乎 ruby-china 的實作有點不同。","id":2892498,"url":"https://api.github.com/repos/huacnlee/ruby-china/issues/comments/2892498"}}