Link_to problem

Hi guys I face a strange problem.
I have written link_to like this
<%= link_to
“TestGroup”, :controller=>‘group’, :action=>‘group_description’,
2.0” %>

then i raise params in controller and found that
params[:id] is “Web 2” and .0 is lost.

What to do for this strange problem.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs