I have just upgraded my entire system to use the subject line version of rails...of course...this broke my previous rails apps as many things are handled a bit differently...!
I have all apps running fine now but am having a problem when using form_tag over form_for...(I need form_tag so I can use 'select' drop- downs and can find no such usage for form-for)...
Here's the error I get: Unknown action No action responded to 8. Actions: create, destroy, edit, index, new, show, and update
Here's the form code: <% form_tag :action => 'update', :id => @tankticket do %> <%= render :partial => 'form' %> <%= submit_tag 'Update' %> <% end %>
Here's the update code: def update @tankticket = Tankticket.find(params[:id])
respond_to do |format| if @tankticket.update_attributes(params[:tankticket]) format.html { redirect_to(@tankticket, :notice => 'Tankticket was successfully updated.') } format.xml { head :ok } else format.html { render :action => "edit" } format.xml { render :xml => @tankticket.errors, :status => :unprocessable_entity } end end end
It's gotta be something simple that I'm missing...and...I'm thinking it's in the 'form_tag' code...dunno