1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix "warning: instance variable @parallelized not initialized"

This commit is contained in:
Ryuta Kamizono 2021-08-07 13:04:31 +09:00
parent 4a23cb3415
commit 685caef33b

View file

@ -49,7 +49,7 @@ module ActiveSupport
end
def parallelized?
@parallelized
@parallelized if defined?(@parallelized)
end
def should_parallelize?