class Account include Mongoid::Document field :jid, type: String field :pass, type: String embedded_in :user end