Warm up cache to prevent assertion failure.
Merge pull request #16093 from zuhao/refactor_activerecord_nested_through_associations_test

Warm up cache to prevent assertion failure.