hi,
i used to have a index file with a partial. that partial holds a searchform, until now with a regular form_for / post towards the parent index action. the results were only be fetched / displayed if certain conditions are true. this is all working fine.
Now im trying to get the remote_form_for working so that i can make use of ajax, but:
<% remote_form_for :mysearchcontroller, :url => { :action => “index”} ,:html=>{ :method => “get” , :id=>“formX”} do %>
always produces this:
but the server logs says this:
Processing MysearchcontrollerController#create (for 192.168.178.21 at 2010-11-25 17:22:45) [POST] Parameters: {"…
why is that and where is my mistake? it actually doesnt matter what action i specify, even a custom action, it always goes to create…
thx
ps: mysearchcontroller is a fake name