Avoid a BSON namespace collision

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is in response to a related forum topic and allows the 10gen driver to be used alongside Mongoid 3.

      This should be especially useful in our attempt to keep gridfs support in carrierwave-mongoid – at least until a moped-gridfs implementation surfaces (see jnicklas/carrierwave-mongoidMONGOID-32).

      All references to ::BSON in the core lib and core rdoc were also changed to reference Moped::BSON instead, and this will need to be standardized in the core Mongoid lib to avoid regression.

      EDIT: This was changed to remove the ::BSON alias altogether.

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

                Created:
                Updated:
                Resolved: