rails/rails — pull request #12344 by angelic (2013-09-24 18:44:48+00:00)
Title: Use the given name in html_options for the hidden field in collection_ch...

The collection_check_boxes method ignores the :name from :html_options when generating a hidden field. This pull request will use :name if it exists, and use the default otherwise. Test included.