Topic: Searching through a find(:all) result
So I currently have a controller that makes way too many SQL calls, I'm sure. The first is the typical Posts.find(:all) then there are others using the same resource to get specific Posts based on :conditions. Is there a way to just search through that Posts.find(:all) result with Ruby methods to pull sub-groups from it, ultimately cutting out those extra SQL calls.
I'm at work and the project is on my home computer, so unfortunately I don't have any code examples.
Thanks in advance.