File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module ActiveJob
37
37
# end
38
38
#
39
39
# step(:process_records) do |step|
40
- # @import.records.find_each(start: step.cursor)
40
+ # @import.records.find_each(start: step.cursor) do |record|
41
41
# record.process
42
42
# step.advance! from: record.id
43
43
# end
@@ -48,7 +48,7 @@ module ActiveJob
48
48
# end
49
49
#
50
50
# def reprocess_records(step)
51
- # @import.records.find_each(start: step.cursor)
51
+ # @import.records.find_each(start: step.cursor) do |record|
52
52
# record.reprocess
53
53
# step.advance! from: record.id
54
54
# end
@@ -99,7 +99,7 @@ module ActiveJob
99
99
# over a collection of records where IDs may not be contiguous.
100
100
#
101
101
# step :process_records do |step|
102
- # import.records.find_each(start: step.cursor)
102
+ # import.records.find_each(start: step.cursor) do |record|
103
103
# record.process
104
104
# step.advance! from: record.id
105
105
# end
You can’t perform that action at this time.
0 commit comments