导出所有用户13---all

This commit is contained in:
huang 2016-11-03 15:59:59 +08:00
parent c69b89da96
commit 21c6a0ad0d
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class AdminController < ApplicationController
cycle = params[:cycle]
g = Gitlab.client
users_results = []
User.first(13).each do |user|
User.all.each do |user|
unless user.mail.nil?
user_mail = user.mail
user.projects.where("gpid is not null").each do |project|