This is the simplified code :
<%= link_to ’ Search ', :action => ‘show_activity’, :name => ???%>
I would like to pass the name as a parameter to my action. The name
should be the value of the input field with id ‘activity_lookup’.
I did not find a solution on how to do this :s
As you will guess : I am using this bit of code for an auto complete
field (example from the rails recipes book)
Is there a nice way to do this ?
Am I looking in the wrong direction and is it much easier ?
Thx for your help.