When running the following MongoId query
Project.any_of(
{ completed_at: nil}, { :completed_at.gte => @start_date}
)
it produces this error:
"This method is not prepared to handle key being a Key and serializer being not nil"
I found the validation code for this here but I don't understand what it means.
Using .where( "$or" => [
produces the same error.
MongoId v7.1.5, Rails v6.0, MongoDB 4.4.x