<div class="field col-xs-3">
<%= f.label :modelo_id %>
<%= f.select :modelo_id,
options_for_select(
@modelos.collect { |modelo|
[modelo.nome.titleize, modelo.id] }, @carro.submodelo.modelo.id), {}, { id: 'modelos_select', class: 'form-control' }, prompt: 'Selecionar disciplina' %>
</div>
Could someone tell me why the prompt is not working?