From: Josselin Date: 2007-01-30T02:05:11+09:00 Subject: classification I have to classify a bunch of products into 4 boxes, according to the value of one of their attribute (product.code , an integer between 0 and 4) I wrote that but it's seems wrong : box[0] = box[1] = box[2] = box[3] = [] for product in products tag = Tag.new(product.title, product.price) box[ product.code�] << tag end then I'll reuse each box[] for further processing... what's wrong ? tfyl joss