This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修改用户id的数量
tags/v1
sylor_huang@126.com
6 years ago
parent
e23e96063d
commit
036718356d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/user.rb
+ 1
- 1
app/models/user.rb
View File
@@ -702,7 +702,7 @@ class User < ApplicationRecord
end
def projects_count
Project.joins(:members).where(members: { user_id: self.id })
Project.joins(:members).where(members: { user_id: self.id })
.select(:id).size
end
# 是否已经签到
Write
Preview
Loading…
Cancel
Save