Problem with select and options

I want to generate a select-field with options:

50
55
60
...
80

So I tried:

<% @options = [] %>
<%= 50.step(80, 5) { |a| @options = a}%>
<%= select("DL","bandwidth", options) %>

No success at all!

Any hints?

Thanx

Jochen Kaechelin schrieb:

I want to generate a select-field with options:

50
55
60
...
80

So I tried:

<% @options = [] %>
<%= 50.step(80, 5) { |a| @options = a}%>
<%= select("DL","bandwidth", options) %>

No success at all!

Any hints?

Thanx

Ups....sorry I solved it by my own:

I changed @options = a to @options << a!!

Hi --