search for: update_item

Displaying 2 results from an estimated 2 matches for "update_item".

2008 Jul 08
1
Problems with form_remote_tag
...fully updated. The problem is after the record is being updated, it didn''t update operation_panel. Instead it redirects to another page. Where did it went wrong? What should I do? Please help. Thanks. ............view................... <% form_remote_tag(:url => {:action => :update_item}, :update => "operation_panel", :before=>"return validateForm(this); return false;") do %> .... <% end %> .................................... .........controller................. def item @item=Item.find(params[:id]) session[:id]=@item end def update...
2007 Dec 10
10
Reading Hash/Array
Hi all, My app is generating a form with several bill_items that should be updated (fields to be updated are description and net). The text_field_tag names are bill_item[update][#{id}][description] and bill_item[update][#{id}][net] (and I added bill_item[update][#{id}] [id] just in case) The param received is: {"commit"=>"Save",