File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __find_in_batches(options={}, &block)
102102
scope = scope.__send__(named_scope) if named_scope
103103
scope = scope.instance_exec(&query) if query
104104

105-
scope.find_in_batches(options) do |batch|
105+
scope.find_in_batches(**options) do |batch|
106106
yield (preprocess ? self.__send__(preprocess, batch) : batch)
107107
end
108108
end

0 commit comments

Comments
 (0)