lib/mongo_mapper/plugins/keys/key.rb in mongo_mapper-0.8.3 vs lib/mongo_mapper/plugins/keys/key.rb in mongo_mapper-0.8.4

- old
+ new

@@ -20,10 +20,10 @@ return false unless type.respond_to?(:embeddable?) type.embeddable? end def can_default_id? - type && [ObjectId, BSON::ObjectID, String].include?(type) + type && [ObjectId, BSON::ObjectId, String].include?(type) end def number? [Integer, Float].include?(type) end \ No newline at end of file