In the docs it says `Note that this method is not safe to use on many 
adapters if you are running additional queries inside the provided block. 
If you are running queries inside the block, use a separate thread or shard 
inside paged_each.` 

Does this apply if you're updating a different model then what you're 
iterating through?

Ex. 

A.page_each do |row|
 B.first(some_id: row.some_id).update(...)
end

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/38c60cea-5c3e-41a0-818c-8cd65df3bb9e%40googlegroups.com.

Reply via email to