Forum: Ruby on Rails submit_to_remote fails on rails 2.2.2

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.
nirosh (Guest)
on 2009-05-19 14:52
(Received via mailing list)
submit_to_remote  fails on  rails 2.2.2 and rails 2.3.2 but fully
working with 2.0.2

please give me an answer as soon as possible. its very urgent

the code is


<% form_for :todo, @todo, :url => { :action => "update_todo" } do |f|
      <%=f.text_field :name%>
        <%=f.text_area :description,:rows=>3 %>
        <label>Due date</label>
        <%=f.text_field :due_date,:class=>"date-pick dp-applied" %>
      <label>Assign to</label>
      <%=select("todo", "assign_to", {|u| [User.find
      <%= submit_to_remote 'create_btn', 'Update',
              :url => { :action =>
'update_todo',:id=>,:todo_id=>} %>


  def update_todo
    @todo = Todo.find(params[:todo_id])
This topic is locked and can not be replied to.