If I say this in the controller:
@order = Order.new(params[:order])
What is required for this to work?
Does there need to be a one-to-one match between all of the fields in params[:order]
and the Order model?
Or can there be more or fewer fields in params[:order]
than are required to instantiate an Order?