Use head of activemodel with head of mongoid