       status        : 
         type        : String 
         enum        : ['invalid status type', ['active','blocked','redeemed']]
-        default     : 'active' # 'unconfirmed'
+        default     : 'active'
       origin        : ObjectRef
     relationships   :
       invitedBy     :

            .createHmac('sha1', 'kodingsecret')
            .update(email)
            .digest('hex')
          # console.log email, code
          recipients.push ->
            invite = new JInvitation {
              code

        recipients.push -> callback(recipients)
        daisy recipients
  
  @grant =(selector, quota, options, callback)->
    [callback, options] = [options, callback] unless callback
    unless quota > 0
      callback new KodingError "Quota must be positive."
    else
      batch = []
      i = 0
      console.log arguments
      JAccount.all selector, options, (err, accounts)->
        accounts.forEach (account)->
          batch.push ->
            account.fetchLimit 'invite', (err, limit)->
