title: customization for nested routes in rails 3
body: <p>I am using nested routes in my application (rails 3.2) as follows:</p>
  
  <pre><code>resources :networks do
    resources :groups
  end
  </code></pre>
  
  <p>The route for groups show page is as follows</p>
  
  <pre><code>network_group GET    /networks/:network_id/groups/:id(.:format)
  </code></pre>
  
  <p>How can I change the parameters to :network_name and :group_name respectively? Also, I would like to rename the route to group_path (instead of network_group_path ). I would like these changes reflected for all the routes without having to use 'match' for the individual routes.</p>
  
  <p>Is it possible to have something like group_path(@network, @group) return '/networks/global/groups/all', where 'global' and 'all' are both 'name' attribute for the respective models. (by default I get the id's in the url)</p>