"Render: nothing => true" devuelve un archivo de texto sin formato vacío?

Estoy en Rails 2.3.3, y necesito hacer un enlace que envíe una solicitud de publicación.

Tengo uno que se ve así:

= link_to('Resend Email', 
  {:controller => 'account', :action => 'resend_confirm_email'}, 
  {:method => :post} )

Lo que hace que el comportamiento de JavaScript apropiado en el enlace:

<a href="/account/resend_confirm_email" 
  onclick="var f = document.createElement('form'); 
  f.style.display = 'none'; 
  this.parentNode.appendChild(f); 
  f.method = 'POST'; 
  f.action = this.href;
  var s = document.createElement('input'); 
  s.setAttribute('type', 'hidden'); 
  s.setAttribute('name', 'authenticity_token'); 
  s.setAttribute('value', 'EL9GYgLL6kdT/eIAzBritmB2OVZEXGRytPv3lcCdGhs=');
  f.appendChild(s);
  f.submit();
  return false;">Resend Email</a>'

La acción de mi controlador funciona y está configurada para no representar nada:

respond_to do |format|
  format.all { render :nothing => true, :status => 200 }
end

Pero cuando hago clic en el enlace, mi navegador descarga un archivo de texto vacío llamado "resend_confirm_email".

¿Lo que da?

Respuestas a la pregunta(2)

Su respuesta a la pregunta