passing parameters to action

Controller methods doesn't work like that.

Say you have this: link_to "Test", :action => "test_action", :id => 5, :some_param => "test"

This would be the controller:

def test_action   params[:id] #returns 5   params[:some_param] #returns "test" end

By the way, I'm pretty sure rails wants you to name your actions some_action, not someAction.