Me parece que el error de sintaxis es con el "do |f| %>" ya que estás
usando un form_remote_tag, no un form_remote_for helper.
<% form_remote_tag :url => {:action => 'new'},
:update => "category_list",
:position => :bottom,
:html => {:id => 'category_form'} do |f| %>
Name:<%= f.text_field :name -%>
<%= submit_tag "Add" -%>
<% end %>
Deberías usar esta sintaxis:
<% form_remote_tag(:url => {:action => 'new'},
:update => "category_list",
:position => :bottom,
:html => {:id => 'category_form'}) do %>
<%= text_field_tag :email, @email %>
<%= text_field_tag :confirm_email, @confirm_email %>
...
<%= submit_tag 'sign up to vote', {:id => 'signup_button'} %>
<% end -%>
No podés usar f.text_field, tenés que usar algo diferente.
Espero que te sirva.
Saludos,
Ernesto
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar