Displaying 1 result from an estimated 1 matches for "shipping_status".
Did you mean:
shipping_state
2006 Jul 26
0
error when updating table with select box
...ng to update a table with form input from a select box and getting
this error: "Options does not specify :except or :only"
#View:
<%= start_form_tag :action => ''order_update'', :id => @order %>
<div>
Status <br />
<select name="order[shipping_status]">
<option>None</option>
<option>Paid</option>
<option>Shipped</option>
</select>
<%= submit_tag ''Update'' %>
<%= end_form_tag %>
</div>
#controller:
def order_update
@order = Order.find(params[:...