Skip to content

Commit cdce0c6

Browse files
committed
decimail128 was not present
1 parent 6e79c61 commit cdce0c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mongoid/fields/field_types.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module FieldTypes
1717
boolean: Mongoid::Boolean,
1818
date: Date,
1919
date_time: DateTime,
20-
decimal128: BSON::Decimal128,
20+
#decimal128: BSON::Decimal128,
2121
double: Float,
2222
float: Float,
2323
hash: Hash,

spec/mongoid/fields_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
boolean: Mongoid::Boolean,
338338
date: Date,
339339
date_time: DateTime,
340-
decimal128: BSON::Decimal128,
340+
#decimal128: BSON::Decimal128,
341341
double: Float,
342342
float: Float,
343343
hash: Hash,

0 commit comments

Comments
 (0)