Hi Carlos!
Because of the nesting. For example, I recently hacked up a version of
Beast which is nested similarly to yours: Forums with many Topics with
many Posts. Creating a new post has the following resource path: /
forums/:forum_id/topics/:topic_id/posts/new
Even though the topic_id in my ca
Carlos Santana wrote:
> I am using nested resources as follows:
> map.resources :topics do |topics|
> topics.resources :items do |items|
> items.resources :attachments
> end
> end
>
> When I generate a RESTful path for new item in the console:
> app.new_topic_item_path(2) then I
2 matches
Mail list logo