开发者

Given a Paperclip file, how to clean up the filename to be url friendly?

remove non-utf8 characters, downcase, r开发者_开发百科emoves spaces. Is there a builtin way in rails to make filenames friendly and safe before paperclip saves?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜