Skip to content

Commit 9acffe1

Browse files
committed
these need to be considered
1 parent f70ea2a commit 9acffe1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/mongoid/fields/field_types.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module FieldTypes
2121
float: Float,
2222
hash: Hash,
2323
integer: Integer,
24-
object: Object,
24+
#object: Object,
2525
object_id: BSON::ObjectId,
2626
range: Range,
2727
regexp: Regexp,
@@ -30,7 +30,7 @@ module FieldTypes
3030
stringified_symbol: Mongoid::StringifiedSymbol,
3131
symbol: Symbol,
3232
time: Time,
33-
time_with_zone: ActiveSupport::TimeWithZone
33+
#time_with_zone: ActiveSupport::TimeWithZone,
3434
}.with_indifferent_access.freeze
3535

3636
class << self

spec/mongoid/fields_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
float: Float,
342342
hash: Hash,
343343
integer: Integer,
344-
object: Object,
344+
#object: Object,
345345
object_id: BSON::ObjectId,
346346
range: Range,
347347
regexp: Regexp,
@@ -350,7 +350,7 @@
350350
stringified_symbol: Mongoid::StringifiedSymbol,
351351
symbol: Symbol,
352352
time: Time,
353-
time_with_zone: ActiveSupport::TimeWithZone
353+
#time_with_zone: ActiveSupport::TimeWithZone,
354354
}.each do |field_type, field_klass|
355355

356356
it "converts Symbol :#{field_type} to #{field_klass}" do

0 commit comments

Comments
 (0)