-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: bson-3.2.7, bson-4.8.2
-
Component/s: BSON
-
None
Just noticed that when we try to save document with BigDecimal value we get an error:
BSON::Document.new("afa" => BigDecimal(161)).to_bson
Fails with:
NoMethodError: undefined method `bson_type' for 0.161e3:BigDecimal
- duplicates
-
RUBY-2860 Implement BigDecimal#to_bson
- Closed
- related to
-
MONGOID-4641 Decimal128/BigDecimal interoperability
- Released