Select Box population

> I would like to populate a select box in rails with the values 0 - 100 - > how can this be done in rails?

any ideas anyone?

<% 1.upto(100) do |i| %> <option > <%= i %></option> <% end %>

Justin

Also,

<%= select_tag("value", options_for_select((0..100).map { |v| [v.to_s, v] })) %>