Problem with global Boolean definition

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 4.0.0 final
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Unassigned
              Reporter:
              bernd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: