with-scope

is with_scope threadsafe?

Poking around in the rails code, I ran across with_scope. From what I can tell, it takes the scope type and conditions, merges them into existing conditions for that scope type, yields to the block, then gets rid of the additional scope. So my first thought is in a multithreaded environment (like jruby on rails), what happens if while...