rails/rails — pull request #10661 by Zhomart (2013-05-17 06:20:25+00:00)
Title: Improved FormHelper#check_box_checked?

Improved checking type of object in FormHelper#check_box_checked?

It fixes issue of mongoid: https://github.com/mongoid/mongoid/issues/3044