i just found out i can pass mutiple parameters from views like
<%= link_to doctype.name, :action => “show_towns”, :id => doctype.name,
:id2 => doctype.id%>
silly me, i always had the impression that i could only pass 1. i guess
i dont have to use sessions after all for my site. is there anything
wrong with this?
basically instead of the user filling out forms(drop down boxes, radio
boxes etc), i just what them to click on links that gets passed to the
contoller etc…and depending on what the selected, that will be used
for the query. is there anything wrong with this approach?