I found this, which I think is going to work ActionDispatch::Routing::PolymorphicRoutes
In: actionpack/lib/action_dispatch/routing/polymorphic_routes.rb: "Polymorphic URL helpers are methods for smart resolution to a named route call when given an Active Record model instance. They are to be used in combination with ActionController::Resources. These methods are useful when you want to generate correct URL or path to a RESTful resource without having to know the exact type of the record in question. Nested resources and/or namespaces are also supported, as illustrated in the example: polymorphic_url([:admin, @article, @comment]) results in: admin_article_comment_url(@article, @comment) " Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

