Commonly overlooked usage of named routes

Given a route :

ActionController::Routing::Routes.draw do |map| "foo/:first/:second", :controller => "foo", :action => "something"

Obviously you can pass in :first and :second via:

foo_path(:first => "the first param", :second => "the second param")

However, for a more concise call, you can accomplish the same via:

foo_path("the first param", "the second param")

It's not explicitly documented, but you end up doing the same thing with nested resource paths