-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
class SubType < ParentType; end
class ParentType
Mongoid::Document
end
SubType.collection.insert( array_of_hashes )
=> _type : nil for all inserted records , which means that they belong to the ParentType, not the SubType.