This patch adds a url helper that allows you to create a link, adding the class "current" when in the current page.
I've found myself using this helper much more than link_to_unless_current. And because almost every site has some sort of tabbed navigation, I think it makes sense to push it to rails.
== Examples
Let's say you have a navigation menu...
<ul id="navbar">
<li><%= link_to_tagged_current("Home", { :action => "index" }) %></li>
<li><%= link_to_tagged_current("About Us", { :action => "about" }) %></li>
</ul>
If in the "about" action, it will render...
<ul id="navbar">
<li><a href="/controller/index">Home</a></li>
<li><a href="/controller/about" class="current">About Us</a></li>
</ul>
...but if in the "index" action, it will render:
<ul id="navbar">
<li><a href="/controller/index" class="current">Home</a></li>
<li><a href="/controller/about">About Us</a></li>
</ul>