Working on bug in mongoid production settings