rails/rails — pull request #6059 by rafaelfranca (2012-04-29 18:49:47+00:00)
Title: Change check_box to work inverting the checked and unchecked value

This fixes:

* Boolean with inverted logic
* Integer with inverted logic
* BigDecimal with inverted logic

Fixes #3995

cc @sobrinho @carlosantoniodasilva