RESTful acts_as_tree

Anyone have experience making an acts_as_tree object RESTful-ly
accessible? I’ve got

map.resources :terms do |terms|
models.resources :terms, :name_prefix => ‘child_’

I want to generate a link for creating a child. In show.rhtml,
corresponding to GET /terms/id, I tried to using <%= link_to “Create
Child”, child_new_term_path %> and I get the following error:

ActionView::TemplateError (child_new_term_url failed to generate from
:action=>“new”}, expected: {:controller=>“terms”, :action=>“new”},
diff: {})


I guess even more generally, can you have both a top-level route and a
nested route and properly generate associations?