Whenever I work with forms in rails, I get so confused. The API documentation is not really clear regarding how to set a name for the form. There are other places that I get confused, but I will solve one problem at a time. The form_tag takes three arguments.
This is what you would use for use in rails...
<% form_for ({:action => "update", :id => @user}, {:name => "myForm" }, {}) do -%> ... <% end %>
The output should look like this...
<form name="myForm" action="/account/update/1" method="post"> ... </form>