mongoid/mongoid — pull request #1736 by piotrj (2012-02-20 20:33:00+00:00)
Title: Integer is always an integer

Even if decimal is given it gets casted to integer.

This would make the behavior a little bit more predictable - the integer is always integer.
That also makes it a little bit more consistent with behavior of ActiveRecord.