added persist_in_safe_mode false to mongoid