fix undefined method is_mongoid_model?