How do i use a link_to inorder to go to a specific (html) ID on a page normally if i wanted to go to the "whatever_id" on a page i could use
<a href="http://www.example.com/index/mypage#whatever_id>Click Here</a>
but i would like to use my link_to
<%= link_to "click here" , {:action => "mypage", :controller => "index" }, :id => "#whatever_id"%>
helper methods. Does anyone know how to do this? Is it possible?
Rails 2.3.4