2009-05-20 67 views

回答

1

您是否嘗試過的東西啦?

has_attachment :storage => :file_system, :path_prefix => 'attachments/' 
+0

是的,我已經嘗試了幾個path_prefix選項的組合,並且似乎沒有任何工作,除非他們以'public /'開頭。下面是我嘗試上傳文件時從該選項中得到的內容: 沒有這樣的文件或目錄 -/storage/daisi/branches/development/public // storage/daisi/branches/development/attachments/0000/0007/524_IMS。 yml – 2009-05-20 18:07:36

相關問題