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

Update to 5.1.0 issued "undefined method `bson_type'" error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 5.1.2
    • Affects Version/s: 5.1.0
    • Component/s: None
    • None
    • Environment:
      Unbuntu 14
      Ruby 2.3.0
      Ruby on Rails 4.2.5

      I upgraded from mongoid 5.0.2 to 5.1.0 and started to get this kind of errors on some of my tests:

      NoMethodError:

      undefined method `bson_type' for #<Account:0x007fc2cff05d90>

      I'm not sure where to look for a solution so I would like to know if there is any known compatibility issue between 5.0.2 and 5.1.0 that I might have missed, that could be causing this.

      Thanks,
      Marco

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            marco.canderle@dreamstaffing.com Marco Canderle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: