I have this query :
Model.where({'$or' => [{:date => nil}, {:date.gt => Time.new}]}).count
I get an error :
keys must be strings or symbols
I split the or query in two, and both works. May I make a mistake for $or ?
Just in case : mongo mapper 0.9.2 😉
And just in case, I update to 0.11
But it works this way :
I don’t know why.
How did I found ? Miss enter on this
Funny right ?