I have an order model with a `product_id` foreign key and users can specify `delivery_day` on a single form.

If a user selects `Monday` and `Friday`, I'd like to save two records of the order with different `delivery_day` attributes but the same `product_id`.

controllers/orders\_controller.rb
=================================

```
def new
  @product = Product.find(params[:product])
  @day = params[:day]
  @order = Order.new(:user_id => current_user.id, :product_id => @product.id, :delivery_day => @day) 
end

def create
  @order = Order.new(order_params)
  if @order.save
    redirect_to @order, notice: 'Order was successfully created.'
  else
    render :new
  end
end

```

views/orders/\_form.html.erb
============================

```
<%= form_for(@order) do |f| %>
  <div class="field">
    <%= f.label :user_id %><br>
    <%= f.number_field :user_id %>
  </div>
  <div class="field">
    <%= f.label :product_id %><br>
    <%= f.time_select :product_id %>
  </div>
<div class="field">
  <%= f.label :delivery_day %><br>
  <%= f.check_box :delivery_day %>
</div>
<div class="actions">
  <%= f.submit %>
</div>

<% end %>

```

I looked around, but couldn't find an answer to this. Not sure if nested associations are overkill (like [coccoon](https://github.com/nathanvda/cocoon)) because I'm just trying create multiple records of `order` with different `delivery_day` parameters.