You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When collection returns an ActiveRecord::Relation, how do we set limit for each "batch"? job-iteration's Best Practices says it defaults to 100. It looks like that's passed in here.
But in collection, we're not explicitly building an enumerator, so how can we pass in or set the @batch_size?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When
collectionreturns anActiveRecord::Relation, how do we setlimitfor each "batch"?job-iteration's Best Practices says it defaults to 100. It looks like that's passed in here.But in
collection, we're not explicitly building an enumerator, so how can we pass in or set the@batch_size?All reactions