gregbell/active_admin — Issue #1103: add similar method to scoped_collection for 'show' action
Author: rforte
Created: 2012-03-02 16:15:04+00:00
State: open

My show controllers are generating an absurd amount of N+1 queries based on associations of my model. It would be rad if there was a way to have a method for doing:
MyModel.includes( [:associated_model, ...] )
in the show controller portion.