0
如果我的文本字段使用permalink_fu我得到這個爲生成permalink
:permalink_fu文本字段:如何將blob轉換爲字符串輸出?
http://localhost:3000/243webb4ee4ff2227230b4232438591810c35d3f
,而不是
http://localhost:3000/where-is-my-lost-cat
我想這是因爲text
領域將成爲數據庫和permalink_fu
一個blob
只知道如何操作string
字段。
我怎樣才能將其轉換爲可讀的string
版本?
(不更改數據庫類型與text
到string
)
發現friendly_id插件效果更好。謝謝。 – 2009-10-12 00:58:03
您的鏈接已損壞 – 2009-10-12 01:50:05