mongoid / origin

A Ruby DSL for building MongoDB queries
http://mongoid.org/en/origin/index.html
MIT License
62 stars 29 forks source link

Fix .or with interval and on same field not working bug #108

Open parstra opened 9 years ago

arthurnn commented 9 years ago

can you add a regression test for the problem? so I can understand it better. thanks

parstra commented 9 years ago

It addresses this issue https://github.com/mongoid/origin/issues/93 The regression test is this one https://github.com/mongoid/origin/commit/0bae78e50e66ffb58c1ee974941abfbeec024779 .

I could look more to it is not enough