patch for mongoid history