plataformatec/simple_form — pull request #593 by RohanM (2012-06-19 00:23:26+00:00)
Title: Fix error when collection_check_boxes used with form_for instead of simple_form_for

When collection_check_boxes is used within a form_for block, it errors with:

undefined local variable or method `template' for #

I traced this to a call to template (not @template) in SimpleForm::ActionViewExtensions::Builder::collection_check_boxes . Changing the object to @template fixed the defect.