javascript_named_routes

Fred Polgardy has just released a tasty bit of code that will allow JavaScript to access Rails named routes in a very straightforward way.

Check out his javascript_named_routes Rails plugin.