app/views/fields/select/_form.html.erb in administrate-0.14.0 vs app/views/fields/select/_form.html.erb in administrate-0.15.0
- old
+ new
@@ -24,20 +24,20 @@
field.attribute,
options_from_collection_for_select(
field.selectable_options,
:last,
:first,
- field.data.presence,
+ field.data,
)
) %>
<% else %>
<%= f.select(
field.attribute,
options_from_collection_for_select(
field.selectable_options,
:to_s,
:to_s,
- field.data.presence,
+ field.data,
)
) %>
<% end %>
</div>