Did you mean to say #each here instead of #select?