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