The documentation in a simple form describes how to do this:
<%= simple_form_for @foo do |f| %> ... <%= f.input :email_format, collection => ["Text", "HTML"] %> ... <% end %>
This is not associated with associations. Or without a simple form:
<%= select_tag :email_format, options_for_select(["Text", "HTML"]) %>
source share