mongoid/mongoid — pull request #3266 by piotr-sokolowski (2013-09-12 15:00:11+00:00)
Title: Fix Boolean typecasting

I've noticed that typecasting is not working for Boolean. This is proposed fix (it's working for us).