标签: ruby-on-rails-3 routing vanity-url
答案 0 :(得分:1)
尝试使用FriendlyId插件。它似乎完全符合你的要求。视频教程: http://railscasts.com/episodes/314-pretty-urls-with-friendlyid