Also you can use them in any place that you want inside the routes, for example in a scope or namespace call:
<ruby>
namespace :posts do
concerns :commentable
end
</ruby>
h4. Creating Paths and URLs From Objects
In addition to using the routing helpers, Rails can also create paths and URLs from an array of parameters. For example, suppose you have this set of routes: