Skip to content
代码片段 群组 项目
提交 2e9a8e56 编辑于 作者: Max Fan's avatar Max Fan
浏览文件

Adding eachBatch so project exporter can iterate through records

上级 5e09defc
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true # frozen_string_literal: true
class GroupBadge < Badge class GroupBadge < Badge
include EachBatch
belongs_to :group belongs_to :group
validates :group, presence: true validates :group, presence: true
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
class Upload < ApplicationRecord class Upload < ApplicationRecord
include Checksummable include Checksummable
include EachBatch
# Upper limit for foreground checksum processing # Upper limit for foreground checksum processing
CHECKSUM_THRESHOLD = 100.megabytes CHECKSUM_THRESHOLD = 100.megabytes
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册