theforeman/foreman — pull request #1951 by eLobato (2014-11-18 00:27:11+00:00)
Title: Fixes #8425 - n+1 query on audits index

Audits index include users who performed actions, and these are being
called with n+1 queries. Fix should be as simple as providing the
users through the controller with an includes.