Displaying 1 result from an estimated 1 matches for "article_comments_url".
Did you mean:
article_comment_url
2008 Dec 31
1
resource api docs not working for me
Hi,
ruby 1.8.4, rails 2.2.2, mongrel 1.5.1, win xp
I read in the docs that this :
map.resources :articles do |article|
article.resources :comments
end
should result in this lot:
article_comments_url(@article)
article_comment_url(@article, @comment)
article_comments_url(:article_id => @article)
article_comment_url(:article_id => @article, :id => @comment)
So when I did my own idea of the above :
map.resource :people,:singular=>:person do |person|
person.resources :invitat...