use new mongoid syntax