Use mongoid HEAD.