I am trying to figure out how to use the “select” helper in changing a
scaffold produced “new.html.erb” file. Specifically how do I change:
- Year In School:
<%= f.text_field :year %>
so that this shows up as a “drop down box”.
I’ve tried different variations of
<%= f.select :year %>
but that never works.