You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From discussion on the mailing list, MongoMapper should disable Single Collection Inheritance when a model sets a new collection name.
classArticleincludeMongoMapper::DocumentendclassSubArticle < Articleset_collection_name"sub_articles"endSubArticle.collection.name# is currently correct, "sub_articles"SubArticle.query.to_hash.keys# should be [:transformer], currently is [:transformer, :_type]
From discussion on the mailing list, MongoMapper should disable Single Collection Inheritance when a model sets a new collection name.
Code to negate is in sci.rb#L12-17
The text was updated successfully, but these errors were encountered: