mongoid/mongoid — pull request #2851 by Nkem (2013-02-20 21:24:45+00:00)
Title: Update lib/mongoid/fields/internal/big_decimal.rb

Account for 'NaN' which is valid for BigDecimal, but not for Float.