File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ def find_or_initialize_team(id, team)
76
76
pgteam . reason_name_2 = team . reason_name_2
77
77
pgteam . reason_name_3 = team . reason_name_3
78
78
pgteam . size = team . size
79
- #pgteam.slug = team.slug
80
-
81
79
pgteam . stack_list = team . stack_list
82
80
pgteam . twitter = team . twitter
83
81
pgteam . upcoming_events = team . upcoming_events
@@ -89,16 +87,8 @@ def find_or_initialize_team(id, team)
89
87
pgteam . your_impact = team . your_impact
90
88
pgteam . youtube_url = team . youtube_url
91
89
92
- scale = 8
93
- #pgteam.mean = team.mean.to_d.round(scale)
94
- #pgteam.total = team.total.to_d.round(scale)
95
- #pgteam.median = team.median.to_d.round(scale)
96
- #pgteam.score = team.score.to_d.round(scale)
97
-
98
-
99
90
pgteam . save!
100
91
101
-
102
92
%i( slug mean total median score ) . each do |attr |
103
93
pgteam . update_column ( attr , team . send ( attr ) )
104
94
end
You can’t perform that action at this time.
0 commit comments