Unknown Action error while updating record

I understand other people have had trouble using :action => ‘update’
with form_tag… but I haven’t figured it out yet… here is my
declaration of the form:

<% form_tag :action => ‘update’, :html => {:method => “put”} do %>

I tried just using <% form_tag :action => ‘update’ % do>, along with
other structures… It just says UNKNOWN ACTION since it is trying to
use the id as the action…

Can anyone help??

I would like to keep it as a form_tag though. Thanks in advance for
the help


I have a form using the following syntax, and it works just fine:

<% form_tag({:action => :process_form}, :id => ‘contact’) do %>