質問編集履歴
1
インデント修整
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
41: def set_ranking_data
|
100
100
|
|
101
|
-
42: ids = REDIS.zrevrangebyscore "articles/#{Date.today.to_s}", "+inf", 0, limit: [0, 5]
|
101
|
+
42: ids = REDIS.zrevrangebyscore "articles/daily/#{Date.today.to_s}", "+inf", 0, limit: [0, 5]
|
102
102
|
|
103
103
|
43: @ranking_articles = ids.map{ |id| Article.find(id) }
|
104
104
|
|