Hello guys. I have problem with find_in_batches called from automate. Is it supported method or is it made public by mistake? (publicity comes from this piece of code
I see this in console:
$evm = $evm.vmdb(:vm).find_in_batches(batch_size: 100).map{ |group| } => Array of Vms
But when I run the same code from automate, I see, that in group variable is object of DrbUnknown. In group.buf there is only string.
I get same results, when i use find_each instead of find_in_batches.
What is recommended approach to this? Thank you in advance.