Don't create fibers just to iterate
require a class for cache computations
no need for the const_get since we lock
add a failing test for marshal + cache problems
move the cache to the AR models and populate it on inherited
no need to fully qualify
remove unused variable
reduce relation allocations
reconnect after the fork returns
Merge pull request #12090 from njakobsen/merger-performance

[Performance] Don't create fibers while merging bind variables