-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
this code fails
class Foo include Mongoid::Document def self.crashes? Set.new end end
I expect to be creating a native Set but instead I'm actually creating a Mongoid::Persistence::Atomic::Set
I have to refactor Set.new to be ::Set.new
Seems unexpected. Perhaps should refactor exactly what the module Mongoid::Document provides?