treat ActiveRecord::Relation as Array