I have simple select tag, in which I would like to see numbers from 6 upto 40 and All.
But ruby on rails 3 renders this as selection only with All entry.
I looked in source code, but I dont see anywhere that numbers are rendered. Also, when in console, I got exactly what i was expected
select_tag :agey, (6.upto(40){|i| print ("<option>"+i.to_s+"</option>").html_safe }), {:prompt => "All"}
Thank you
Takes an array