How would you generate a drop-down menu that allows the user to select from a collection of product names?
a. <%= select_tag(@products) %>
b. <%= collection_select(@products) %>
c. <select name="product_id"> <%= @products.each do |product| %> <option value="<%= product.id %>"/> <% end %></select>
d. <%= collection_select(:product, :product_id, Product.all, :id, :name) %>