看板 Ruby 關於我們 聯絡資訊
我打算在 table 中用一個 field 儲存 binary data, 所以讓欄位我就用了 blob 當資料型態, 但是當我下 script/generate scaffold Tablename Admin 時, 產生出的 admin page 在該 field 的地方並未如我預期使用 <input type="file" .... /> 來 upload file 所以這部份要自己寫嗎?還是有其它的方式呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.172.209.167