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