From: "sourj " Date: 2005-10-24T21:57:02+09:00 Subject: link_to problems Hi all, I currently have an action in a controller that accepts input from a form and it works fine. It recieves the data in a hash and uses that well. I now on another page want to submit data to that controller/action and i cant seem to figure out how to encode the hash. It throws a wobbly on the brackets and also i have tried {:search => {:searchterm}}. No joy. Any ideas or suggestions welcome.. link_to eachtagobject.tag , :controller=>"portal", :action => "search_general",:search[:searchterm] => eachtagobject.tag I could work around it by duplicating code and altering the functionality slightly but that goes against the DRY principle. There has to be a way. all the best Surj.