In the cart that I''m working on, I''ve got a Product that has_and_belongs_to_many :sizes through the table "products_sizes". In my "view_details" action, I need to create a drop down box (select) that lists the sizes the product is available in. I''m making the sizes of the product available to the action by way of: @product.sizes = Product.find(@params[:size_ids]) if @params[:size_ids] I just can''t figure out how to use "collection_select" or "options_from_collection_for_select" (which I think is old) in order to do that. What''s the best current, elegant way to create the drop down? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---