I’m trying to use the state_select gem in my forms. It gives me the drop down and is says
state but there are no options to select.
<div class="field">
<%= f.label :state %><br />
<%= f.state_select :state, 'US', { :prompt => "State" }, { :style => "width: 75px;" } %>
</div>
Try to use this format
for you try this and use
your-object-nameand pass youroptionsSource : http://rubydoc.info/gems/state_select/0.1.0/frames