来自原始铁路教程:http ://ruby.railstutorial.org/chapters/a-demo-app#sec-a_user_tour
URI 设计如下
/microposts
/microposts/1
现在考虑如果你想将每个微博完全组织成一个类别(名称是唯一的),你会喜欢什么 URI?
/categories
/categories/123
/categories/jewelries
/categories/123/jewelries
/categories/jewelries/123
或单数对应物
/categories
/categories/123
/categories/jewelry
/categories/123/jewelry
/categories/jewelry/123