Revert "updated mongoid dependency."

This reverts commit 90b34b6a7d3c4d1308badef1d154ce62da7148db.