What is a nice, easy, one-line method of populating a selection list
with numbers in rails?
So far I can populate an array with the numbers I want using a loop:
<% opts = 
26.times do |x|
opts << [x, x]
and then use the opts array for the options in the select helper.
But is there a better way?
Thanks for any suggestions,