class ActionView::Helpers::FormBuilder
def select(method, choices = nil, options = {}, html_options = {}, &block)
<% end %>
<%= f.submit %>
<%= f.select :person_id, Person.all.collect { |p| [ p.name, p.id ] }, include_blank: true %>
<%= form_for @post do |f| %>
Wraps ActionView::Helpers::FormOptionsHelper#select for form builders:
def select(method, choices = nil, options = {}, html_options = {}, &block) @template.select(@object_name, method, choices, objectify_options(options), @default_html_options.merge(html_options), &block) end