Hi, I spent all of last night trying to figure out how to edit a list of objects. According to the Rails book the view should look like this: view: <% for @transaction_detail in @transaction_details %> <div id=''trnDetail''> <%= select ''transaction_detail[]'', ''account_id'', Account.find_all.collect {|p| [ p.path_name, p.id ] }, {:include_blank => true}, {:class => ''accountList''} %> <%= text_field ''transaction_detail[]'', ''quantity'', :class => ''qty'' %> <%= text_field ''transaction_detail[]'', ''unit_price'', :class => ''unitPrice'' %> <%= text_field ''transaction_detail[]'', ''unit_conversion_rate'', :class => ''unitConvRate'' %> </div> <% end %> This generates the following repeated html block: <div id=''trnDetail''> <select class="accountList" id="transaction_detail_account_id" name="transaction_detail[account_id]"><option value=""></option> <option value="1">Account 1</option> <input class="qty" id="transaction_detail_quantity" name="transaction_detail[quantity]" size="30" type="text" /> <input class="qty" id="transaction_detail_quantity" name="transaction_detail[quantity]" size="30" type="text" /> <input class="unitPrice" id="transaction_detail_unit_price" name="transaction_detail[unit_price]" size="30" type="text" /> <input class="unitConvRate" id="transaction_detail_unit_conversion_rate" name="transaction_detail[unit_conversion_rate]" size="30" type="text" /> </div> I guess this is how it should be, but when I submit I only get the values back for the first record. I know I am missing something very basic, can another set eyes help me? TIA, Harish _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails