mongoid/mongoid — Issue #1669: Collection.where(:attribute => value).delete_all
Author: MobilUser
Created: 2012-02-03 10:20:09+00:00
State: open

I can not get the conditional deletion of documents from a collection to work. Have tried also the variant from the docs with
Collection.delete_all(:conditions => {:attribute => value}).
It always deletes all docs from the collection. I found almost the same question in the Google Group but without a clear answer.
Any hints ?
Txs upfront.