I have this right now:
<%= f.select :credit, (0..500) %>
This will result in this:
If I understand the question correctly, you can use options_for_select
and prompt
to do this a little more cleanly than what is shown in the selected answer:
<%= f.select :credit, options_for_select(0..500), { prompt: "No Limit" } %>
See the docs here: http://apidock.com/rails/ActionView/Helpers/FormOptionsHelper/select