global

def account_from_verify_account_key(key)

def account_from_verify_account_key(key)
  id, key = key.split('_', 2)
  id_column = verify_account_id_column
  ds = db[verify_account_table].
    select(id_column).
    where(id_column=>id, verify_account_key_column=>key)
  @account = account_model.where(account_status_id=>account_unverified_status_value, account_id=>ds).first
end