Let s say I have People, and People has_many Watermelon .
I have a filter_by that can work for People attributes, for example :
:filter_by => has_eaten_today
But can I do a :filter_by
for the nested attribute of Watermelon? For example :
:filter_by => watermelons.created_at
Thanks!