Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2121

Avoid a BSON namespace collision

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            rmm5t Ryan McGeary
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: