Open durran opened 11 years ago
See mongoid/mongoid#2396
Ex:
Post.where(:'comments.author_id' => u1.id).where(:'comments.author_id'.ne => u2.id)
See mongoid/mongoid#2396