|
|
@ -239,6 +239,7 @@ class WelcomeController < ApplicationController
|
|
|
|
def import_users
|
|
|
|
def import_users
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
lists = read_xlsx_data("files/users.xlsx")
|
|
|
|
lists = read_xlsx_data("files/users.xlsx")
|
|
|
|
|
|
|
|
logger.info("#########____________lists___________#################{lists}")
|
|
|
|
lists.each_with_index do |list|
|
|
|
|
lists.each_with_index do |list|
|
|
|
|
logger.info("#{list[0]}---#{list[1]}")
|
|
|
|
logger.info("#{list[0]}---#{list[1]}")
|
|
|
|
mail = list[1] + "@educoder.net"
|
|
|
|
mail = list[1] + "@educoder.net"
|
|
|
|