# No route matches "/users//comments" with {:method=\>:post}

**URL:** <https://www.ruby-forum.com/t/no-route-matches-users-comments-with-method-post/184341>\
**Category:** Rails\
**Created:** [March 1, 2010, 9:18am UTC](https://www.ruby-forum.com/t/no-route-matches-users-comments-with-method-post/184341 "2010-03-01T09:18:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidz101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f0a364/32.png) [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Post date:** [March 1, 2010, 9:18am UTC](https://www.ruby-forum.com/t/no-route-matches-users-comments-with-method-post/184341/1 "2010-03-01T09:18:17Z")

</div>

I’m now getting- No route matches “/users//comments” with  
{:method=\>:post} whenever I try to submit a form for comments that is  
assigned to each individual user. The confusion thing is that I’m  
doing all this on a “home” controller, so I always tend to miss stuff  
here and there. (I’m trying to follow ryan bates beginners 15 min blog  
tutorial)

So basically I used restful\_authentication to get my login/logout, and  
I attempted to follow ryan’s tutorial, but I’m getting funky errors  
having to do with my variables not being defined, etc, because instead  
of putting comments in the posts, I’m attempting to put comments under  
each user generated by restful\_authentication

so if i get No route matches “/users//comments” with {:method=\>:post},  
usually whats wrong here, and how can i fix it?? theres a wierd double  
slash… \>.\<

Sorry, complete newbie, i need everyone’s help. 🙂 Appreciated

-David
