prefetch to_attr traversing two models

to_attr is used for the leaf of the relationship passed as the first argument of Prefetch.

See Prefetch 'to_attr' attribute results in an Attribute not found error which is the first result for searching “prefetch to_attr”