While browsing the above page, I looked at this query and wondered if it could be changed to include multiple possible values for state:
find(:all, :origin => @somewhere, :within => 5, :conditions=>['state=?',state])
How would I tell ActiveRecord to return any records where state was 'CA' or 'TX' or 'NY'? It seems like it'd be more efficient to go ahead and constrain the results from the beginning...