I have an array of ActiveRecord objects, I need to grab all records
from the array where “section = ‘foo’”. I’m doing it this way because
I don’t want to have to perform two find_by_XXX queries.
I successfully did this a while ago but I have forgotten since and
don’t have the source code handy. Any help would be appreciated.