nesting REST resources => scaffolded code requires heavy patching

When you nest REST resources,
  map.resources :articles do |article|
    article.resources :comments

the scaffold_resource generated code has to be manually edited to add
the parent id in about 15 locations accross 5 files of the child (the 4
views and the controller).

Most of the time, you must just replace
      comment_path(@article, comment)
, but
- in new.rhtml you need to add a hidden field, and
     <%= f.hidden_field :article_id , :value =>>

- in the controller you also have to add a filter to fetch the parent
    before_filter :load_article
    def load_article
      @article= Article.find params[:article_id]