gregbell/active_admin — Issue #1087: Sorting by has_many
Author: dshipper
Created: 2012-02-29 06:57:33+00:00
State: open

I have a Users model and an Impressions model. A User has_many impressions. I'm trying to be able to sort users based on the number of impressions that they have.

I can't seem to find any example code fo this, does anyone have any suggestions?