Add "as" for Mongoid