Topic: how to use and operator in conditions when using mongodb
I am using mongodb and using mongommaper in my rails app.
I want to perform query like below
Mondel.find (:all,:conditions => ((condition1 and condition2) or (condition3 and condition4))
Can any one help how to do the same when using mongomapper