-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
As described in solnic/virtusMONGOID-135, mongoid breaks the coercion feature for Boolean in virtus.
This is due to the global definition of a Boolean class by mongoid.
I created a test case to show the issue.
https://gist.github.com/4352389
A workaround in virtus is to use Virtus::Attribute::Boolean instead of Boolean in the class definition but it would be great if mongoid would not define global classes like that.