title: How to get URI / URL segments on rails
body: <p>I'm newbie on Rails. How do I get the 1st or 2nd segment on this URL</p>
  
  <pre><code>http://localhost:3000/users/content
  </code></pre>
  
  <p>result</p>
  
  <pre><code>1 - users
  2 - content
  </code></pre>
  
  <p>I can't find the exact questions regarding this. If this is already ask please remove this question. Thanks in advance!</p>