How do I make a remote POST request with custom parameters with a link_to helper in rails 3?
I tried something like this:
link_to 'Submit', model_path, :query => "value", :remote => true, :method => :post
The POST works and the control comes to the action in the controller, but I don't get the POST parameters in params or anywhere else.
How do I do this?