Forum: Ruby on Rails remote form not rendering

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris O. (Guest)
on 2007-04-02 07:37
(Received via mailing list)
I am making a todo list application for learning purposes, but am
having problems with getting the ajax buttons to show up.

The below code does not render out any text.  I did check the value and it works fine when not within the

I do have the javascript libraries within the head tag.

In the final rendered output all I get is a bunch of li elements.

Thanks for any help.

<% form_remote_tag :url => {:action => :show_tasks, :id => category}
do %>
  <%= submit_tag %>
<% end %>
Chris O. (Guest)
on 2007-04-03 06:23
(Received via mailing list)
Well it seems the issue was in the form_remote_tag.  I used an older,
deprecated, form tag and it then worked as it should.

I have looked over the syntax in comparison to a number of examples a
book I have, and I can't see anything wrong with it, but there must be

'The one that works
<%= form_remote_tag :url => {:action => :show_tasks, :id => category}
  <%= submit_tag %>
<%= end_form_tag %>
This topic is locked and can not be replied to.