Updated mongo gem from 2.1.1 to 2.20.
I have the following Mongoid document:
class Person
include Mongoid::Document
field :status, type: Symbol
end
If i create a new person:
Person.create status: :deceased
And try to query it, it returns nil:
Person.where(status: :deceased).first
=> nil
This used to work fine on 2.1.1, is this a bug or just a breaking change from 2.2.0?