<%= collection_select("product", "category_id", @categories, :id, :title ) %>