failing test for custom actions with and without optional parents

I tried creating a patch but was unsuccessful. Could you please look at these failing tests to see if you have an idea for a workarount.  The problem roots from custom actions not having a polymorphic path. The workaround in [this post](http://stackoverflow.com/questions/6142013/polymorphic-path-for-custom-collection-route) worked for me on an individual basis.  Instead of using the custom action url helpers `archive_resource_url` I am using the main helper with a :action option `resource_url(:action => :archive)`