Error when updating table with select box

trying 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 %>

Status
None Paid Shipped
<%= submit_tag 'Update' %>

<%= end_form_tag %>

#controller:

def order_update
@order = Order.find(params[:id])

if @order.attributes(params[:order])
  flash[:notice] = 'order was successfully updated.'
  redirect_to :action => 'order_detail', :id => @order
else
  render :action => 'edit'
end

end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs