I want to create an AJAX request URL which should create a new item
when clicked. I have been trying to do it in the following way
link_to(“Add”, :url => lists_path(:name => “test object”), :method =>
But this fails because the parameter :name => “test object” is not
passed. What am I doing wrong, and how can I get the desired result?