For Rails < 2.3 need to probe for empty? method to distinguish a collection proxy from other relations.