I am using Rails 5 and bootstrap_form_for to build a form.
I know there are some similar questions in SO but none of the helped me solve my issue...
I am trying to add a custom class to a select field. But I have is this:
<%= f.collection_select :location_id, Location.all, :id, :name, :include_blank => ("Insere um endereço ou escolha um local da lista..."), hide_label: true, :class => 'location' %>
But the class is not applied. What can I do diferente?