Inferred Routes plugin for Rails 2.0

Hi everyone --

I've updated my Inferred Routes plugin for Rails 2.0. The plugin, which is somewhat experimental, lets you do this:

   collection_item_path(@item)

instead of:

   collection_item_path(@item.collection, @item)

and similarly with other nested routes. Basically, the idea is to prevent you from having to type the whole drill-down of objects.

There are limitations to the plugin -- in particular, it only knows about very vanilla, default association and route naming, and it doesn't work with form_for. But if you'd like to save some typing of easily inferred objects, you might like it (or want to improve it or suggest improvements).

You can get Inferred Routes at:

   http://www.risleydale.net/svn/plugins/inferred_routes

David

Those of us who have nested resources 4-5 levels deep thank you. :wink:

--Jeremy