After trying all of the answers it didnt completely work, but i found a way to resolve it. In a first moment, I used
post_comments_url(@post,comment)
where comment is the item inside a @post.each.
It generates a "strange" route, using . instead / like "post/34/comments.2", i fixed it using the singular form:
post_comment_url(@post,comment)
Thanks for helping!