form_for with nested resources

Travis R is correct. (I wish I could upvote ya.) I just got this working myself. With these routes: resources :articles do resources :comments end You get paths like: /articles/42 /articles/42/comments/99 routed to controllers at app/controllers/articles_controller.rb app/controllers/comments_controller.rb just as it says at http://guides.rubyonrails.org/routing.html#nested-resources, with no special namespaces. But partials and forms become tricky. Note the … Read more