rails/rails — pull request #5185 by rafaelfranca (2012-02-26 22:09:25+00:00)
Title: Fix collection helpers

When `collection_check_boxes` and `collection_radio_buttons` are used in forms that use local variables they don't work as desirable because they are not passing the object to your internal builder.

This pull request fixes this issue and also rename the `object` method of the `CollectionHelper::Builder` to `item` and add it to the documentation.

@carlosantoniodasilva, @josevalim, @jeremy please review this one.