Displaying 1 result from an estimated 1 matches for "new_charg".
Did you mean:
new_cars
2006 Jul 14
3
compare two tables and find the difference?
...w:
<h2>Add missing records to charges table</h2>
<%= start_form_tag %>
<table>
<th>Charge id number</th>
<th>Charge name</th>
<th>Classification level</th>
<%= render :partial => ''charge'', :collection => @new_charges %>
</table>
<%= submit_tag ''Save'' %>
<%= end_form_tag %>
the partial _charge.rhtml:
<tr>
<td><%= hidden_field_tag
"charge[#{charge_counter}][charge_id_number]", charge.charge_id_number
%><%= charge.charge_id_number %>&l...