forked from Trustie/forgeplus
修复:查询全部数据
This commit is contained in:
parent
9440ce9572
commit
720cfea5bc
|
|
@ -1,6 +1,6 @@
|
|||
json.total_count @rows.total_count
|
||||
json.users @rows.each do |row|
|
||||
user = User.find(row[0])
|
||||
user = User.find_by_id(row[0])
|
||||
if user.blank?
|
||||
json.user nil
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue