最佳答案
starting from Rails 4, everything would have to run in threaded environment by default. What this means is all of the code we write AND ALL the gems we use are required to be threadsafe
so, I have few questions on this:
@result ||= some_method
?Hash
etc threadsafe?GIL
which means only 1 ruby thread can run at a time except for IO
, does the threadsafe change effect us?