class ActionView::Helpers::FormBuilder
def collection_select(method, collection, value_method, text_method, options = {}, html_options = {})
<% end %>
<%= f.submit %>
<%= f.collection_select :person_id, Author.all, :id, :name_with_initial, prompt: true %>
<%= form_for @post do |f| %>
Wraps ActionView::Helpers::FormOptionsHelper#collection_select for form builders:
def collection_select(method, collection, value_method, text_method, options = {}, html_options = {}) @template.collection_select(@object_name, method, collection, value_method, text_method, objectify_options(options), @default_html_options.merge(html_options)) end