# Link\_to, urls and bots - oh my

**URL:** <https://www.ruby-forum.com/t/link-to-urls-and-bots-oh-my/113798>\
**Category:** Rails\
**Created:** [September 5, 2007, 2:58am UTC](https://www.ruby-forum.com/t/link-to-urls-and-bots-oh-my/113798 "2007-09-05T02:58:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshow](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jshow](https://www.ruby-forum.com/u/jshow)\
**Post date:** [September 5, 2007, 2:58am UTC](https://www.ruby-forum.com/t/link-to-urls-and-bots-oh-my/113798/1 "2007-09-05T02:58:59Z")

</div>

Greetings all,

I’m on rails 1.2.3, using link\_to is giving us a bit of a problem.

The route in question is:

map.resources :reviews do |review|  
review.resources :votes  
end

and the code of concern is:

link\_to “Yes”, votes\_path(review, :helpful =\> helpful

produces the following:

[Yes](https://www.ruby-forum.com/reviews/1948/votes?%20helpful=true)

As you can se, the href doesn’t consider the method, which in this  
case is a post.

The server gets the :get, and renders an index.

The href is used both by bots, and by users opening the link in a new  
window. Both suck,

I Searched RailsTrac, but no love!

any thoughts? Did I missing something obvious?

cheers,  
Jodi
