title: Using base36/unique ID in Rails URL
body: <p>Using RoR 2.3.8.</p>
  
  <p>I have tried <code>to_param</code>, friendly_id, and in the end, I find that I will have real headaches in Unicode conversion when my site goes international. I am planning to have contents with lots of languages, accented, Chinese, Japanese, Korean, etc. So instead of putting those titles in my URL, I am planning to sacrifice it. Yeah, I just want an ID in it.</p>
  
  <p>Now I want to implement something like YouTube, where each video URL ends with a unique ID. Let's say an entry with <code>ID=10</code> will have a unique ID:</p>
  
  <p><code>http://abc.com/shops/rD4g35tQ</code></p>
  
  <p>I want the URL to be permanent.</p>
  
  <p>I don't know how to go about it. Can someone show me some examples or give me some heads up?</p>
  
  <p>Thanks.</p>