Displaying 1 result from an estimated 1 matches for "person_invit".
2008 Dec 31
1
resource api docs not working for me
...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 :invitations;
end
I was surprised to find no method such as person_invitations (with or
without the :singular=>true): all the methods are pluralised for
people. And for those methods that do exist none take the person id,
even the index method (which makes it useless to me). Here is what
rake is telling me are my routes:
people_invitations GET /people/invitations...