I have a simple form with an order by param. When my dropdown is changed, I call this:
$.post("/busca", $("#order_form").serialize(), dataType: "script")
On the rails controller side I have a simple format.js to handle the ajax calls.
Thing is that this isn't working. The js.erb template is never rendered.
My log shows Processing by BuscaController#index as */* and I have no idea what the */* stands for. Can someone help me?